Thunderbird picking up bgcolor in html attachment as its own background color

I'm trying to send an html attachment with Thunderbird, and I notice
that the message area picks up the background color defined in the html document!
 This happens to be almost black (0x333333) so the black text of the
message is barely visible.  The html attachment is:

<body bgcolor="#333333">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab..."
width="100%" height="100%" id="DataFloodAnimation" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="DataFloodAnimation.swf" /><param
name="quality" value="high" /><param name="bgcolor" value="#333333"
/><embed src="DataFloodAnimation.swf" quality="high" bgcolor="#333333"
width="100%" height="100%" name="DataFloodAnimation" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>

I just want to send this file as a simple attachment.  I don't want
Thunderbird trying to interpret it and use the bgcolor defined there as its own
background of the text area.  How can stop Thunderbird from doing this?

Thanks,
Steve
stevaAsked:
Who is Participating?
 
Marc ZConnect With a Mentor Commented:
OK, one more from Here. http://kb.mozillazine.org/Send_attachments_as_real_attachments
Thunderbird normally sends attachments inline (as part of the message body), not as real attachments.

Some recipients will see some of your attachments as part of the message body, even if this makes no sense. For example, if you attach a plain text file, then some recipients will not see an attached file. Instead, they will see the contents of the file at the bottom of your message. If the file is encoded data, then some recipients might see garbage at the bottom of your message.

To send attachments as real attachments, set the value of your mail.content_disposition_type preference to 1. You can do this by using about:config, or by editing your user.js file and adding:

user_pref("mail.content_disposition_type", 1);

After you make this change, Thunderbird sends all files as attachments. Even if you paste a file into the body of an e-mail, some recipients might see it as a separate attachment.


This may be this bug https://bugzilla.mozilla.org/show_bug.cgi?id=65794
0
 
war1Commented:
Greetings, steva !

Try renaming the attachment to .txt file. Then when recipient receives the attachment, he/she can rename the attachment back to .html to open it.

Best wishes!
0
 
stevaAuthor Commented:
Yes, that works, but that's not a fix.  Can someone explain why this is happening and how to tell Thunderbird to leave html attachments alonel?

Thanks
0
 
Marc ZCommented:
In TB, try Tools->Options->Composition -> General and select Forward Messages Inline

If that doesn't work, try Tools->Options->Display ->Formatting and at the HTML Messages confirm that Text is set to Black and Background Color is set to White.

0
 
stevaAuthor Commented:
mtz1of4.

I found bug  76804 also that seems to be relevant.  I think the solution for now is to not try to send html files as attachments.  I'll just zip it.

Thanks for all your suggestions, though.

steve
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.