Answer the question
In order to leave comments, you need to log in
Why, when sending mail with a return address containing Russian letters, unreadable characters appear instead of some of them?
Sending mail via phpMailer:
$mail->From = "[email protected]имя-сайта.рф";
$mail->FromName = "Robot";
$mail->AddAddress($toEmail);
$mail->Subject = $subject;
$mail->Body = $template;
$mail->IsHTML(true);
$mail->CharSet = 'UTF-8';
if(!$mail->Send()) {
// ...
}
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