Bugfix in Encoding of vacation mail. UTF-8 header was missing and the

mailbody is already utf8, so no need to recode
This commit is contained in:
tkempf committed 2017-07-21 08:53:09 +02:00
1 parent cc3d5b13e8
commit 79f8a63a46
1 file changed
+3 -2
+3 -2
View File
@@ -582,11 +582,12 @@ sub send_vacation_email {
header => [
To => $to,
From => $from,
Subject => encode_mimewords($subject, 'Charset', 'UTF-8'),
Subject => $subject,
Precedence => 'junk',
'Content-Type' => "text/plain; charset=utf-8",
'X-Loop' => 'Postfix Admin Virtual Vacation',
],
body => encode("UTF-8", $body),
body => $body,
);
if($test_mode == 1) {