Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Problem displaying text part in multipart message
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
whirled  
View profile  
 More options Oct 8 2007, 6:39 pm
From: whirled <will...@wwdprint.com>
Date: Mon, 08 Oct 2007 22:39:32 -0000
Local: Mon, Oct 8 2007 6:39 pm
Subject: Problem displaying text part in multipart message
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manuel Lemos  
View profile  
 More options Oct 9 2007, 12:29 am
From: Manuel Lemos <mle...@acm.org>
Date: Tue, 09 Oct 2007 01:29:24 -0300
Local: Tues, Oct 9 2007 12:29 am
Subject: Re: Problem displaying text part in multipart message
Hello,

on 10/08/2007 07:39 PM whirled said the following:

> 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?

As far as I know that is a bug of Thunderbird. If you view the message
in a folder you can switch the message body mode and it changes the view
mode. If you have opened a saved message, it does not render the message
again when you change the view mode. You may verify this with any
message that was not generated by the MIME message class.

--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google