From: Seth R. <se...@mi...> - 2004-08-03 20:56:44
|
robert said: > p dont think wrote: > >>>>> why some mails are like this. help me to solave this problem. >>>>> ---------------------------------------- >> ... bunch of html... >>>>> ----------------------------- >>>> >>>> My guess would be that they're sending HTML mail only with no >>>> text/plain part and you have the Display Option "Show HTML Version by >>>> Default" set >>>> to no. >>> >>> Not always. Using 1.4.2 with html version shown by default, here are >>> some recent headers -- *Content-Type:* text/html; charset=us-ascii >>> >> What do you mean not always? This email is exactly what Marc guessed >> -- html only. > Mark's guess was a 2 parter -- html-only, *and* show html default set > to no. > > Actually Ean hammered it, and nailed the answer -- "SM requires the > 'MIME-Version: 1.0' header" > > > That's good to know and I appreciate it. I have not been putting this > header into PHP generated mail, and never knew there was a problem 'till I > got to playing with the squirrel. I guess I'll add this header to any > future PHP generated email. > It's worth noting, the MIME-Version restriction isn't so much SquirrelMail as some IMAP servers. Some will say a message is plain/text if there's no MIME-Version, others don't care. SquirrelMail trusts the IMAP server, mostly because it's a great deal faster. The View as HTML plugin will look at the Content-Type regardless if that helps anyone. Seth. -- Seth Randall IT Support Specialist Missoula Federal Credit Union se...@mi... |