Answer the question
In order to leave comments, you need to log in
How to change Content Type when mailing via PHP Mailer?
In the file PHPMailer.php - there are settings:
public $CharSet = 'windows-1251';
public $ContentType = 'text/html';
public $Encoding = '8bit';
Parameter $AltBody - empty
For any value of CharSet and ContentType - the message headers contain:
Content-Type: multipart/alternative;
boundary="b1_PMNo9JZh3v4PoBsn2yIPsWqMOXjn96sqY89wzLVHkA0"
How to change to text/html for example?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question