PHPMailer character encoding issues

前端 未结 9 987
太阳男子
太阳男子 2020-12-07 07:38

I try to use PHPMailer to send registration, activation. etc mail to users:

require(\"class.phpmailer.php\");
$mail -> charSet = \"UTF-8\";
$mail = new PH         


        
9条回答
  •  囚心锁ツ
    2020-12-07 08:12

    $mail = new PHPMailer();
    $mail->CharSet = "UTF-8";
    $mail->Encoding = "16bit";
    

提交回复
热议问题