Changeset 1686 in subversion
- Timestamp:
- Aug 28, 2008 3:40:35 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 3 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (2 diffs)
-
program/steps/mail/sendmail.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1683 r1686 6 6 - Added options to use syslog instead of log file (#1484850) 7 7 - Added Logging & Debugging section in Installer 8 - Write to smtp log also sent MDN confirmations 8 9 9 10 2008/08/26 (alec) -
trunk/roundcubemail/program/steps/mail/func.inc
r1676 r1686 1077 1077 $msg_body = $message->get(); 1078 1078 $headers = $message->headers(); 1079 1079 1080 1080 // send thru SMTP server using custom SMTP library 1081 1081 if ($CONFIG['smtp_server']) … … 1123 1123 } 1124 1124 1125 if ($sent) // remove MDN headers after sending 1125 if ($sent) 1126 { 1127 // remove MDN headers after sending 1126 1128 unset($headers['Return-Receipt-To'], $headers['Disposition-Notification-To']); 1129 1130 if ($CONFIG['smtp_log']) 1131 write_log('sendmail', sprintf("[%s] User: %d on %s; Message for %s; %s", 1132 date("d-M-Y H:i:s O", mktime()), 1133 $_SESSION['user_id'], 1134 $_SERVER['REMOTE_ADDR'], 1135 $mailto, 1136 !empty($smtp_response) ? join('; ', $smtp_response) : '')); 1137 } 1127 1138 1128 1139 $message->_headers = array(); -
trunk/roundcubemail/program/steps/mail/sendmail.inc
r1683 r1686 419 419 else 420 420 { 421 if ($CONFIG['smtp_log'])422 {423 write_log('sendmail', sprintf(424 "[%s] User: %d on %s; Message for %s; %s\n",425 date("d-M-Y H:i:s O", mktime()),426 $_SESSION['user_id'],427 $_SERVER['REMOTE_ADDR'],428 $mailto,429 !empty($smtp_response) ? join('; ', $smtp_response) : ''));430 }431 432 421 rcmail_compose_cleanup(); 433 422
Note: See TracChangeset
for help on using the changeset viewer.
