PHPMailer Content-Transfer-Encoding

PHPphpmailer

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.

Best Answer

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.