alecpl
2009-07-07 ca90a9c174b815facf76295488567f281716179f
- handle smtp errors in show action (when mdn is send)


1 files modified
6 ■■■■■ changed files
program/steps/mail/show.inc 6 ●●●●● patch | view | raw | blame | history
program/steps/mail/show.inc
@@ -84,9 +84,11 @@
  {
    if (intval($CONFIG['mdn_requests']) === 1)
    {
      if (rcmail_send_mdn($MESSAGE->uid))
      if (rcmail_send_mdn($MESSAGE->uid, $smtp_error))
        $OUTPUT->show_message('receiptsent', 'confirmation');
      else
      else if ($smtp_error)
        $OUTPUT->show_message($smtp_error['label'], 'error', $smtp_error['vars']);
      else
        $OUTPUT->show_message('errorsendingreceipt', 'error');
    }
    else if (empty($CONFIG['mdn_requests']))