problem description
=? UTF-8?GAMEFORCE member change password Notification? GAMEFORCE member change password Notification? = messages sent with phpmailer always have these extra characters in their headers.
the environmental background of the problems and what methods you have tried
$mail- > CharSet = "utf-8", $mail- > Subject = "=? UTF-8?B?". Base64_encode ($subject). "? =";
has tried to set the character set, but the message title still has these characters.
$mail = new Mail_PHPMailer();
$mail->CharSet = "utf-8";
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->Host = $config["hostname"];
$mail->Username = $config["username"];
$mail->Password = $config["password"];
$mail->SetFrom($config["username"]);
$mail->AddAddress($email);
$mail->Subject = "=?UTF-8?B?" . base64_encode($subject) . "?=";
$mail->MsgHTML($content);
return $mail->Send();