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.

Regards,

Michael



"Mike" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> 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
fine
> in there client, others receive a corrupted email with the headers
bleading
> 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?
>
> Thanks,
>
> mike
>
>
>
> 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]
> Status:
> Content-Type: multipart/alternative;
> boundary="=_f74fc4c7192d1983b9f144709175f8eb"
> Message-Id: <[EMAIL PROTECTED]>
> Date: Mon,  3 Jun 2002 05:27:54 -0700 (PDT)
>
>
> --=_f74fc4c7192d1983b9f144709175f8eb
> 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
likely
> this is because your email client cannot read HTML. To change your
ise-news
> subscription to the text version, go to:
>
>
http://www.social-ecology.org/ise-news/change.php?id=d963dfb04befe0df8673367
> 050c9ad8d
>
> To unsubscribe, go to:
>
http://www.social-ecology.org/ise-news/unsubscribe.php?id=d963dfb04befe0df86
> 73367050c9ad8d
>
>
> --=_f74fc4c7192d1983b9f144709175f8eb
> Content-Type: text/html; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <HTML>
> <!--
>
> Your email client can not read HTML. To change your ise-news subscription=
> =20
> to the text version, go to:
>
>
http://www.social-ecology.org/ise-news/change.php?id=3Dd963dfb04befe0df8673=
> 367050c9ad8d
>
> To unsubscribe, go to:
http://www.social-ecology.org/ise-news/unsubscribe.p=
> hp?id=3Dd963dfb04befe0df8673367050c9ad8d
>
> Don't worry about anything else below this paragraph.
> It's for those with HTML enabled e-mail clients.
>
> -->
> <HEAD>
>  <TITLE>ise-news June 2002</TITLE>
>  <META http-equiv=3D"Content-Type" content=3D"text/html;
charset=3Diso-8859=
> -1">
> </HEAD>
>
> <BODY bgcolor=3D"#CCCC99" text=3D"#000000" link=3D"#663300"
vlink=3D"#66330=
> 0" alink=3D"#663300" leftmargin=3D"0" topmargin=3D"0" marginwidth=3D"0"
mar=
> ginheight=3D"0">
> <BR><A name=3D"top"></A>
>
> <!-- Body removed for symplicity sake -->
>
>
> </BODY>
> </HTML>
> --=_f74fc4c7192d1983b9f144709175f8eb--
>
>
>
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to