MS Entourage 2008 and quoted encoding

I need to send an HTML email. All email clients (Outlook, Thunderbird ..), but Entourage can receive and read this email without major problems. Entourage, albeit destroying the content and only displaying a few lines from the start.

I'm guessing it has something to do with how Entourage handles the quoted encoding for printing. Important email headers as they are set:

Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

      

The same behavior in Entourage occurs when email is sent as multipart / alternative with alternative plain text. The content of the email is displayed until the character =00

(NUL encoded?) Appears .

Is this Entourage error behavior? Or am I doing something wrong?

+1


source to share


1 answer


The problem is that these characters *=00*

. Before sending the email, you need to prepare it for quoted encoding and remove all null characters.



$str = preg_replace('/\x00+/', '', $str);

      

0


source







All Articles