mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
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:
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…
Reference in New Issue
Block a user