From e2658394a1d84caa06cc45ece226111a3aade846 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 1 Dec 2013 23:30:58 +0000 Subject: [PATCH] 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 --- VIRTUAL_VACATION/vacation.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/VIRTUAL_VACATION/vacation.pl b/VIRTUAL_VACATION/vacation.pl index 2741ad4d..59665c21 100644 --- a/VIRTUAL_VACATION/vacation.pl +++ b/VIRTUAL_VACATION/vacation.pl @@ -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,