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

mailbody is already utf8, so no need to recode
pull/61/head
tkempf 7 years ago
parent cc3d5b13e8
commit 79f8a63a46

@ -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) {

Loading…
Cancel
Save