From 57388f9cce148fbbeaebb84b16bef4cbed322a89 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 22 Nov 2010 17:36:03 +0000 Subject: - Fix attachment names encoding broken in r4232 --- program/steps/mail/sendmail.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program') diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 54ded7af0..796e7782b 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -508,12 +508,12 @@ if (is_array($_SESSION['compose']['attachments'])) // .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 ); -- cgit v1.2.3