From 57388f9cce148fbbeaebb84b16bef4cbed322a89 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 22 Nov 2010 12:36:03 -0500 Subject: [PATCH] - Fix attachment names encoding broken in r4232 --- program/steps/mail/sendmail.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 54ded7a..796e778 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -508,12 +508,12 @@ // .eml attachments send inline $MAIL_MIME->addAttachment($file, - $ctype, + $ctype, $attachment['name'], ($attachment['data'] ? false : true), ($ctype == 'message/rfc822' ? '8bit' : 'base64'), ($ctype == 'message/rfc822' ? 'inline' : 'attachment'), - '', '', '', + $message_charset, '', '', $CONFIG['mime_param_folding'] ? 'quoted-printable' : NULL, $CONFIG['mime_param_folding'] == 2 ? 'quoted-printable' : NULL ); -- Gitblit v1.9.1