Changeset 2722 in subversion


Ignore:
Timestamp:
Jul 7, 2009 1:29:45 PM (4 years ago)
Author:
alec
Message:
  • handle smtp errors in show action (when mdn is send)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/show.inc

    r2637 r2722  
    8585    if (intval($CONFIG['mdn_requests']) === 1) 
    8686    { 
    87       if (rcmail_send_mdn($MESSAGE->uid)) 
     87      if (rcmail_send_mdn($MESSAGE->uid, $smtp_error)) 
    8888        $OUTPUT->show_message('receiptsent', 'confirmation'); 
    89       else 
     89      else if ($smtp_error) 
     90        $OUTPUT->show_message($smtp_error['label'], 'error', $smtp_error['vars']); 
     91      else       
    9092        $OUTPUT->show_message('errorsendingreceipt', 'error'); 
    9193    } 
Note: See TracChangeset for help on using the changeset viewer.