Hi,
I followed the example for an HTML message with inline images provided
with the class. Both the HTML and text part are included in the
message, however, when I try to view the text-only part in Thunderbird
it shows what appears to be the HTML part with the tags stripped, not
the actual text version of the message. Below is a portion of the
message source (personal info has been replaced with "X")
==========================================
=== Begin Source
==========================================
Sender: xxxx...@xxxxx.xxx
X-Mailer: http://www.phpclasses.org/mimemessage $Revision: 1.75 $
(mail)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="353d80623bd9a9dff293765bb83fb756"
Message-ID: <20071008172458.4966.--ISO--------q----xxxxxx--C-LLC-------
xxxxxxx>>
Date: Mon, 8 Oct 2007 17:24:58 -0500 (CDT)
--353d80623bd9a9dff293765bb83fb756
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
This message is intended to be viewed as HTML. Either your email
client
does not support HTML, or you have HTML messages disabled.
...<Message Body -- Text>...
--353d80623bd9a9dff293765bb83fb756
Content-Type: multipart/related;
boundary="2798450ce9f02fa5866e84eec43303e3"
--2798450ce9f02fa5866e84eec43303e3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
...<Message Body HTML>...
--2798450ce9f02fa5866e84eec43303e3
...
==========================================
=== End Source
==========================================
Everything is displayed properly for the HTML message, including any
inline images, however, when I view the text version it is missing the
disclaimer about it being the text version: "This message is intended
to be viewed as HTML. Either your email client does not support HTML,
or you have HTML messages disabled."
When I view the PHPClasses.org New Class notification e-mails it
properly displays the text part, which implies that it is not just a
Thunderbird "feature" to show the text part as the HTML with the tags
stripped.
I noticed that my message does not contain a header of "Content-Type:
multipart/mixed;" which is included in the sample "message.eml" file
distributed with the class. Perhaps this is the problem?
Any help would be greatly appreciated.
Thanks,
William