diff options
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r-- | program/steps/mail/sendmail.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 6a3b51123..3c9f60378 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -277,9 +277,10 @@ if ($CONFIG['sent_mbox']) // log mail sending if ($CONFIG['smtp_log']) { - $log_entry = sprintf("[%s] User: %d; Message for %s; Subject: %s\n", + $log_entry = sprintf("[%s] User: %d on %s; Message for %s; Subject: %s\n", date("d-M-Y H:i:s O", mktime()), $_SESSION['user_id'], + $_SERVER['REMOTE_ADDR'], $mailto, $msg_subject); |