summaryrefslogtreecommitdiff
path: root/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-17 12:00:16 +0300
committerAndrew Dolgov <[email protected]>2018-12-17 12:00:16 +0300
commitfa77cfa9332d4a85ad0d63704d793e9b969ede16 (patch)
tree726e76c17aa0ade8a4767ac2e775f798fa1a4aea /init.php
parent261dea435f09c43bbb5a1f265e1df98ce77c0228 (diff)
set phpmailer charset to utf-8
Diffstat (limited to 'init.php')
-rw-r--r--init.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.php b/init.php
index a347de9..1997c09 100644
--- a/init.php
+++ b/init.php
@@ -56,6 +56,7 @@ class mailer_smtp extends Plugin {
$phpmailer->setFrom($from_address, $from_name);
$phpmailer->addAddress($params["to_address"], $params["to_name"]);
$phpmailer->Subject = $params["subject"];
+ $phpmailer->CharSet = "UTF-8";
if ($params["message_html"]) {
$phpmailer->msgHTML($params["message_html"]);