Question

If I send any mails with Content-Transfer-Encoding: 8bit those mails will actually be sent with Content-Transfer-Encoding: Quoted Printable!

I can't find any solution for this, and it's getting frustating.

Was it helpful?

Solution

My phpmailer installation uses 8bit by default. No need to change anything.

However if I want "quoted printable", I just add the following code:

$mail->Encoding = 'quoted-printable';

One thing to remember: When you want quoted-printable you do not need to pre-encode your text, Phpmailer will encode it for you.

Maybe you can try without defining the encoding and see if it works.

OTHER TIPS

Maybe 8bitm is not supported, so PHPMailer falls back to qp? I'm not sure off the top of my head, but shouldn't it be 8-bit or 8bit ?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top