From 6b01133063cf1c138d4820f43206a4b16c802387 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 12 Apr 2010 11:12:37 +0000 Subject: - Fix regression in disposition-notification (#1486623) --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps') 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'); -- cgit v1.2.3