K
kiden
Hi
I've Googled and read around, and this seems to remain unanswered, so
here goes...
I'm programmatically creating a multipart mail message with a plain
text part and an html part (see below).
Under default Outlook email options, I receive and open the email, and
see the html version, as expected. All good.
I'm then setting Outlook to 'Read all standard text in plain text' (to
test what other users might see).
When the message is received and opened, instead of displaying the
plain text part, Outlook converts the html part to plain text and
displays that instead. This isn't what I want because the converted
html part is messier than the plain text part would be; I want Outlook
to ignore the html part and display the plain text part if a user has
changed that option.
So my question is: why is it ignoring the plain text part and instead
converting the html to plain text instead when the email options are
set to 'Read all standard text in plain text'?
And: is there a different option/setting to make Outlook ignore the
html part and read the plain text part instead?
This is the email I'm sending (between rows of asterisks):
********************
From: name <[email protected]>
Reply-to: author <[email protected]>
X-Priority: 3
X-Mailer: PHP 4.x
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="hSx_ISsue_256fr54874gb_aRx"
This is the non-MIME version
--hSx_ISsue_256fr54874gb_aRx
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
This is the plain text version.
--hSx_ISsue_256fr54874gb_aRx
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
<html>This is the fancy html version</html>
--hSx_ISsue_256fr54874gb_aRx--
********************
I've checked that this is really what's being sent (yes), and I've
checked the headers from Outlook to see if this is what's received
(yes). I've also tried changing to multipart/mixed, but all that does
is make the plain text part into an attachment; it still converts the
html part to plain text.
My gut is that this isn't something I can get round (other than by
cleverer html coding), but please could someone put my mind at rest and
confirm? Ta.
I've Googled and read around, and this seems to remain unanswered, so
here goes...
I'm programmatically creating a multipart mail message with a plain
text part and an html part (see below).
Under default Outlook email options, I receive and open the email, and
see the html version, as expected. All good.
I'm then setting Outlook to 'Read all standard text in plain text' (to
test what other users might see).
When the message is received and opened, instead of displaying the
plain text part, Outlook converts the html part to plain text and
displays that instead. This isn't what I want because the converted
html part is messier than the plain text part would be; I want Outlook
to ignore the html part and display the plain text part if a user has
changed that option.
So my question is: why is it ignoring the plain text part and instead
converting the html to plain text instead when the email options are
set to 'Read all standard text in plain text'?
And: is there a different option/setting to make Outlook ignore the
html part and read the plain text part instead?
This is the email I'm sending (between rows of asterisks):
********************
From: name <[email protected]>
Reply-to: author <[email protected]>
X-Priority: 3
X-Mailer: PHP 4.x
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="hSx_ISsue_256fr54874gb_aRx"
This is the non-MIME version
--hSx_ISsue_256fr54874gb_aRx
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
This is the plain text version.
--hSx_ISsue_256fr54874gb_aRx
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
<html>This is the fancy html version</html>
--hSx_ISsue_256fr54874gb_aRx--
********************
I've checked that this is really what's being sent (yes), and I've
checked the headers from Outlook to see if this is what's received
(yes). I've also tried changing to multipart/mixed, but all that does
is make the plain text part into an attachment; it still converts the
html part to plain text.
My gut is that this isn't something I can get round (other than by
cleverer html coding), but please could someone put my mind at rest and
confirm? Ta.