alecpl
2010-05-20 dc9d750e18bafb71776921ce6fac0c4e8bff994d
- Fix message/rfc822 attachments encoding in sent mail


1 files modified
4 ■■■ changed files
program/steps/mail/sendmail.inc 4 ●●● patch | view | raw | blame | history
program/steps/mail/sendmail.inc
@@ -481,9 +481,7 @@
        $ctype, 
        $attachment['name'],
        ($attachment['data'] ? false : true),
        // @TODO: quoted-printable for message/rfc822 is safe,
    // but we should check that 7bit or 8bit is possible here
        ($ctype == 'message/rfc822' ? 'quoted-printable' : 'base64'),
        ($ctype == 'message/rfc822' ? '8bit' : 'base64'),
        ($ctype == 'message/rfc822' ? 'inline' : 'attachment'),
        $message_charset, '', '', 
        $CONFIG['mime_param_folding'] ? 'quoted-printable' : NULL,