From ff154192e2c88f57f866c1022f94414bc241efbc Mon Sep 17 00:00:00 2001 From: borisk1976 <33390094+borisk1976@users.noreply.github.com> Date: Mon, 24 Dec 2018 00:06:24 +0500 Subject: [PATCH] Update v_mailto.php (#3954) Don't know is this right way or not, but without this russian emails are totally unreadable. --- secure/v_mailto.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/secure/v_mailto.php b/secure/v_mailto.php index a759c486e4..82b018c09c 100755 --- a/secure/v_mailto.php +++ b/secure/v_mailto.php @@ -329,12 +329,15 @@ $mail->ContentType = "text/html"; $mail->Body = $body."

".nl2br($transcription); $mail->AltBody = $body_plain."\n\n$transcription"; + $mail->isHTML(true); } else { // $mail->Body = ($body != '') ? $body : $body_plain; $mail->Body = $body_plain."\n\n$transcription"; $mail->AltBody = $body_plain."\n\n$transcription"; + $mail->isHTML(false); } + $mail->CharSet = "utf-8"; //send the email if(!$mail->Send()) {