diff options
author | alecpl <alec@alec.pl> | 2010-04-12 11:12:37 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-04-12 11:12:37 +0000 |
commit | 6b01133063cf1c138d4820f43206a4b16c802387 (patch) | |
tree | aab753429c2dc36c8b1409351aaffe92dd32ff6c /program/steps/mail/func.inc | |
parent | c3221e4f135c40ee58efda05a52bad6cce7cd570 (diff) |
- Fix regression in disposition-notification (#1486623)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 7f67b2974..1cac61566 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1437,7 +1437,6 @@ function rcmail_send_mdn($uid, &$smtp_error) 'Subject' => rcube_label('receiptread') . ': ' . $message->subject, 'Message-ID' => sprintf('<%s@%s>', md5(uniqid('rcmail'.mt_rand(),true)), $RCMAIL->config->mail_domain($_SESSION['imap_host'])), 'X-Sender' => $identity['email'], - 'Content-Type' => 'multipart/report; report-type=disposition-notification', ); if ($agent = $RCMAIL->config->get('useragent')) @@ -1460,6 +1459,7 @@ function rcmail_send_mdn($uid, &$smtp_error) "Disposition: manual-action/MDN-sent-manually; displayed\r\n"; $compose->headers($headers); + $compose->setContentType('multipart/report', array('report-type'=> 'disposition-notification')); $compose->setTXTBody(rc_wordwrap($body, 75, "\r\n")); $compose->addAttachment($report, 'message/disposition-notification', 'MDNPart2.txt', false, '7bit', 'inline'); |