[horde] Horde showing source of email instead of text

Michael M Slusarz slusarz at horde.org
Fri Aug 27 15:56:11 UTC 2010


Quoting Peter Rosa <prosa at pro.sk>:

> Hello everybody,
>
> please, help me with my problem. Instead of displaying normal text (html
> or plain text version) of the email, Horde is displaying the source code
> (whole message souce is between lines, user sees in Horde lines from
> Content-Type: multipart/alternative bellow}:
>
> -------------------------------------------------------------------------
> Return-Path: X.Y.Z
> Delivered-To: A.B.C
> Received: ...
> Received: ...
> Date: 27 Aug 2010 15:14:38 -0000
> Message-ID: ...
> To: D.E.F
> Subject: My subject
> From: my at address.com
> X-Mailer: PHP/5.2.13
>
> Content-Type: multipart/alternative;  
> boundary="PHP-alt-cc88167972fb747fb549ec861951ebd0"
>
>
> --PHP-alt-cc88167972fb747fb549ec861951ebd0
> Content-Type: text/plain; charset="windows-1250"
> Content-Transfer-Encoding: 7bit
>
> BLA-BLA-BLA
>
>
> --PHP-alt-cc88167972fb747fb549ec861951ebd0
> Content-Type: text/html; charset="windows-1250"
> Content-Transfer-Encoding: 7bit
>
> <html><head><meta http-equiv="Content-Type" content="text/html;  
> charset=windows-1250">
> <style>h3{font:bold 16px Arial;margin-bottom:12px}</style>
> </head><body><h3>BLA-BLA-BLA</h3>
> </body></html>
>
> --PHP-alt-cc88167972fb747fb549ec861951ebd0--
> -------------------------------------------------------------------------
>
>
> The mail was generated wia PHP mail function. Is there anybody, who
> could tell me what is wrong with such simple e-mail, please?

It's not a MIME message (RFC 2045) since it is missing the  
MIME-Version: 1.0 header so the message MUST be displayed as  
text/plain (see RFC 5322).

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]




More information about the horde mailing list