Thanks to a heads up fom Malcolm Dew-Jones on the comp.mail.mime newsgroup,
I belive a bug and resolution has been located in mime.php that addresses
the problem I raised below. It would seem that certain MTA's are chocking
on the line "Content-Type: multipart/alternative;
boundary="=_f74fc4c7192d1983b9f144709175f8eb"" of the header (to long for
7bit encoding?), and trunicating
boundary="=_f74fc4c7192d1983b9f144709175f8eb" so that it sits on the line
below. This results in corrupted headers. To resolve this issue, mime.php
should place the "boundry" on the second line, preceeded with a tab.
Altough I have not had a chance to test this fix with my clients who have
complained of this issue, my rudimentry research shows this to be the case.
"Mike" <[EMAIL PROTECTED]> wrote in message
> I just don't know enough about MIME encoded email to figure this problem
> out. I'm using a PHP script (mime.php from the Pear library) to automate
> the sending of an HTML newsletter to my subscribers. The email the script
> dishes out has mixed results. Some of my users have the email rendered
> in there client, others receive a corrupted email with the headers
> into the body.
> To further complicate the matter, this is not an issue related to a
> particular email client, as users using identical clients on identical
> platforms have either had proper results or not. My hunch is that the
> problem originates from either my MTA, or the script itself. But, I just
> don't know enough about MIME multipart/alternative to diagnos the problem.
> A raw version of the email is below.
> Any MIME gurus out there?
> From [EMAIL PROTECTED] Mon Jun 3 05:27:54 2002
> Return-Path: <[EMAIL PROTECTED]>
> Delivered-To: [EMAIL PROTECTED]
> Received: by flag.blackened.net (Postfix, from userid 65534)
> id 1E5B26702; Mon, 3 Jun 2002 05:27:54 -0700 (PDT)
> To: [EMAIL PROTECTED]
> Subject: ise-news 018 :: June 2002
> MIME-Version: 1.0
> From: [EMAIL PROTECTED]
> Content-Type: multipart/alternative;
> Message-Id: <[EMAIL PROTECTED]>
> Date: Mon, 3 Jun 2002 05:27:54 -0700 (PDT)
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> Your email client is unable to display this issue of ise-news. Most
> this is because your email client cannot read HTML. To change your
> subscription to the text version, go to:
> To unsubscribe, go to:
> Content-Type: text/html; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> Your email client can not read HTML. To change your ise-news subscription=
> to the text version, go to:
> To unsubscribe, go to:
> Don't worry about anything else below this paragraph.
> It's for those with HTML enabled e-mail clients.
> <TITLE>ise-news June 2002</TITLE>
> <META http-equiv=3D"Content-Type" content=3D"text/html;
> <BODY bgcolor=3D"#CCCC99" text=3D"#000000" link=3D"#663300"
> 0" alink=3D"#663300" leftmargin=3D"0" topmargin=3D"0" marginwidth=3D"0"
> <BR><A name=3D"top"></A>
> <!-- Body removed for symplicity sake -->
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php