Hello all..

I know I've seen this problem posted in the archives but I have not come
across an answer.  The problem is with HTML mails with the pictures
(background images included) attached that are to be displayed in the
mail (such as one created by Outlook Express or IncrediMail).
SquirrelMail (version 1.2.11) will display these messages as text with
the pictures attached and a text attachment that is actually the HTML
code for the message.  Funny thing is the message details plugin will
correctly translate the message as:
    Entity     Content-Type
    1          multipart/alternative
    1.1        text/plain
    1.2        text/html
    2          image/jpeg

HTML messages with no images attached, just a plain text alternative
(such as spam) display beautifully.  Suprisingly though, the message
details plugin will translate these messages as follows:
    Entity     Content-Type
    1          text/plain
    2          text/html
The reason I find this surprising is I would expect (not knowing much
about this sort of thing) to see something more like the first three
lines of the first message without the jpg attachment. ???

And the third and final odd behaviour related to this is text emails
with an HTML document attached.  When HTML viewing is set to default
(which you can bet is what all our customers want), SquirrelMail will
try to display the HTML document as the email and have the text as an
alternative when you click on the "View as plain text" link (I also have
the view as HTML plugin installed). The message details plugin
translates this one as:
    Entity     Content-Type
    1          text/plain
    2          image/jpeg
    3          text/html

So my question is have I done something wrong, or is this a bug?  If it is
a bug, is there a way to utilize the logic used in the message details
plugin to better translate these abominations to email?  Any response on
this would be great.

Thanks.
Jonathan.

-- 
"No way! Why should I change? He's the one that sucks!"





-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to