diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-12 11:12:37 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-12 11:12:37 +0000 |
| commit | 5e3c5775c0b6c6df664412e8bdf5872dfe9e8a9e (patch) | |
| tree | 1d728fe815d1bf9bf2a0e24f8b372dd449c2a149 /roundcubemail/program/steps | |
| parent | f39ae0613c0660d3e6a865fcf84b8ad5908b0c82 (diff) | |
- Fix regression in disposition-notification (#1486623)
git-svn-id: https://svn.roundcube.net/trunk@3484 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 7f67b2974..1cac61566 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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'); |
