vacation.pl:

- encode subject
  https://sourceforge.net/p/postfixadmin/bugs/272/
  https://sourceforge.net/p/postfixadmin/patches/119/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1597 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Christian Boltz committed 2013-12-01 23:30:58 +00:00
1 parent beffb3ec85
commit e2658394a1
1 file changed
+1 -2
+1 -2
View File
@@ -512,9 +512,8 @@ sub send_vacation_email {
'on_errors' => 'die', # raise exception on error
);
my %mail;
# I believe Mail::Sender qp encodes the subject, so we no longer need to.
%mail = (
'subject' => $subject,
'subject' => encode_mimewords($subject, 'Charset', 'UTF-8'),
'from' => $from,
'fake_from' => $friendly_from . " <$from>",
'to' => $to,