Changeset 2713 in subversion for trunk/roundcubemail/program/steps/mail/func.inc
- Timestamp:
- Jul 6, 2009 5:13:10 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/func.inc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/func.inc
r2712 r2713 1303 1303 * Send the given message compose object using the configured method 1304 1304 */ 1305 function rcmail_deliver_message(&$message, $from, $mailto )1305 function rcmail_deliver_message(&$message, $from, $mailto, &$smtp_error) 1306 1306 { 1307 1307 global $CONFIG, $RCMAIL; … … 1328 1328 // send message 1329 1329 $smtp_response = array(); 1330 $sent = smtp_mail($from, $a_recipients, ($foo = $message->txtHeaders($send_headers, true)), $msg_body, $smtp_response );1330 $sent = smtp_mail($from, $a_recipients, ($foo = $message->txtHeaders($send_headers, true)), $msg_body, $smtp_response, $smtp_error); 1331 1331 1332 1332 // log error … … 1381 1381 1382 1382 1383 function rcmail_send_mdn($uid )1383 function rcmail_send_mdn($uid, &$smtp_error) 1384 1384 { 1385 1385 global $RCMAIL, $IMAP; … … 1439 1439 $compose->addAttachment($report, 'message/disposition-notification', 'MDNPart2.txt', false, '7bit', 'inline'); 1440 1440 1441 $sent = rcmail_deliver_message($compose, $identity['email'], $mailto );1441 $sent = rcmail_deliver_message($compose, $identity['email'], $mailto, $smtp_error); 1442 1442 1443 1443 if ($sent)
Note: See TracChangeset
for help on using the changeset viewer.
