Skip to content

Is the a way to set plain text encode? #2497

Answered by Synchro
impartialjust asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, change the CharSet property:

$mail->CharSet = 'utf-8';

There are defined constants for common charsets, so you can also say:

$mail->CharSet = PHPMailer::CHARSET_UTF8;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by impartialjust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants