Update v_mailto.php (#3954)
Don't know is this right way or not, but without this russian emails are totally unreadable.
This commit is contained in:
parent
c7af59eccf
commit
ff154192e2
|
|
@ -329,12 +329,15 @@
|
||||||
$mail->ContentType = "text/html";
|
$mail->ContentType = "text/html";
|
||||||
$mail->Body = $body."<br><br>".nl2br($transcription);
|
$mail->Body = $body."<br><br>".nl2br($transcription);
|
||||||
$mail->AltBody = $body_plain."\n\n$transcription";
|
$mail->AltBody = $body_plain."\n\n$transcription";
|
||||||
|
$mail->isHTML(true);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// $mail->Body = ($body != '') ? $body : $body_plain;
|
// $mail->Body = ($body != '') ? $body : $body_plain;
|
||||||
$mail->Body = $body_plain."\n\n$transcription";
|
$mail->Body = $body_plain."\n\n$transcription";
|
||||||
$mail->AltBody = $body_plain."\n\n$transcription";
|
$mail->AltBody = $body_plain."\n\n$transcription";
|
||||||
|
$mail->isHTML(false);
|
||||||
}
|
}
|
||||||
|
$mail->CharSet = "utf-8";
|
||||||
|
|
||||||
//send the email
|
//send the email
|
||||||
if(!$mail->Send()) {
|
if(!$mail->Send()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue