Jump to content

Entourage and quoted-printable encoding


Recommended Posts

Posted (edited)

Hi, i'm looking for an answer to my problem with MS Entourage 2008 for Mac.

My client needs to send a monthly newsletter composed as HTML email. All email clients (Outlook, Thunderbird ..) but Entourage can receive and read this email without major problems. Entourage, though is breaking the content and displays just few lines from the beginning.

My guess is that it has something to do with the way how Entourage handles quoted-printable encoding. The important headers of email as they are set:

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

The same behaviour in Entourage occurs when email is sent as multipart/alternative with alternative plain text.

The content of the email is displayd until the character =00 occurs (encoded NUL?).

Is this Entourage bug behaviour? Or am I doing something wrong? If someone could give me an advise, i would appreciate it.

Cheers.

Gusep

Edited by Gusep

Posted

I will answer myself in case that someone encounters the same problem. The problem is indeed those =00 characters, so before sending the email you need to prepare it for quoted-printable encoding and remove all null characters.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...