Skip to content
Advertisement

PHPMailer changing Content-transfer-encoding

I’m developing a program which uses PHPMailer.

I want to change “Content-transfer-encoding” in header of email.

Here is my eml format email header sample.

JavaScript

BUT I want to change “quoted-printable” to “base64”

JavaScript

Is there any solution change encoding??

Advertisement

Answer

You could try reading the documentation, or looking at the source code. In short, do this:

JavaScript

But I wouldn’t advise doing this; base64-encoded HTML bodies make you look like a spammer.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement