|
|
@ -508,12 +508,12 @@ if (is_array($_SESSION['compose']['attachments']))
|
|
|
|
|
|
|
|
|
|
|
|
// .eml attachments send inline
|
|
|
|
// .eml attachments send inline
|
|
|
|
$MAIL_MIME->addAttachment($file,
|
|
|
|
$MAIL_MIME->addAttachment($file,
|
|
|
|
$ctype,
|
|
|
|
$ctype,
|
|
|
|
$attachment['name'],
|
|
|
|
$attachment['name'],
|
|
|
|
($attachment['data'] ? false : true),
|
|
|
|
($attachment['data'] ? false : true),
|
|
|
|
($ctype == 'message/rfc822' ? '8bit' : 'base64'),
|
|
|
|
($ctype == 'message/rfc822' ? '8bit' : 'base64'),
|
|
|
|
($ctype == 'message/rfc822' ? 'inline' : 'attachment'),
|
|
|
|
($ctype == 'message/rfc822' ? 'inline' : 'attachment'),
|
|
|
|
'', '', '',
|
|
|
|
$message_charset, '', '',
|
|
|
|
$CONFIG['mime_param_folding'] ? 'quoted-printable' : NULL,
|
|
|
|
$CONFIG['mime_param_folding'] ? 'quoted-printable' : NULL,
|
|
|
|
$CONFIG['mime_param_folding'] == 2 ? 'quoted-printable' : NULL
|
|
|
|
$CONFIG['mime_param_folding'] == 2 ? 'quoted-printable' : NULL
|
|
|
|
);
|
|
|
|
);
|
|
|
|