PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Mime » Bug #9725

multipart/related & alternative wrong order

Details

Submitted2007-01-03 16:41 UTC
Fromc dot meisinger at livingliquid dot com
Assignedcipri
StatusClosed
PackageMail_Mime
PHP Version5.0.5
OSLinux SuSE 10.0
Roadmaps1.6.0RC1, 1.4.0, 1.4.0a2

Comments

[2007-01-03 16:41 UTC] c dot meisinger at livingliquid dot com

Description:
------------
Starting-point:
text body
html body with inline images (addHTMLImage)

The problem is that multipart/alternative does not work correctly.
When i view the email in html mode, everything is ok.
When i switch to plain text mode the html part is used NOT the text part.

Layout of email is:
--alternative
text/plain
--alternative
--related
text/html
--related
gif
--related
gif
--related--
--alternative--

Looks good to me but it seems so it doesn't work.

I copy&pasted the email source code, changed the relate/alternative order and used mail() to send it.

Working layout:
--related
--alternative
text/plain
--alternative
text/html
--alternative--
--related
gif
--related
gif
--related--

And this layout works.

I've tested this with Thunderbird 1.5.0.9 and Outlook Express 7 (IE7).

[2007-04-04 10:04 UTC] c dot meisinger at livingliquid dot com

mh right now this seems to be the only combination which couses troubles.

only text/html/inline images, regardless how many images or what image type.