- Fix message/rfc822 attachments encoding in sent mail

release-0.6
alecpl 14 years ago
parent 24c91ed78e
commit dc9d750e18

@ -481,9 +481,7 @@ if (is_array($_SESSION['compose']['attachments']))
$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,

Loading…
Cancel
Save