Mihai Iorga
Mihai Iorga

Reputation: 39704

PHPMailer Content-Transfer-Encoding

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.

Upvotes: 2

Views: 11298

Answers (2)

Haluk
Haluk

Reputation: 2101

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.

Upvotes: 6

Piskvor left the building
Piskvor left the building

Reputation: 92752

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 ?

Upvotes: 0

Related Questions