mirror of
https://github.com/php/php-src.git
synced 2026-04-03 14:12:38 +02:00
Merge branch 'pull-request/1414' into PHP-7.1
* Add subject to mail.log
This commit is contained in:
@@ -294,7 +294,7 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char
|
||||
time(&curtime);
|
||||
date_str = php_format_date("d-M-Y H:i:s e", 13, curtime, 1);
|
||||
|
||||
l = spprintf(&tmp, 0, "[%s] mail() on [%s:%d]: To: %s -- Headers: %s\n", ZSTR_VAL(date_str), zend_get_executed_filename(), zend_get_executed_lineno(), to, hdr ? hdr : "");
|
||||
l = spprintf(&tmp, 0, "[%s] mail() on [%s:%d]: To: %s -- Headers: %s -- Subject: %s\n", ZSTR_VAL(date_str), zend_get_executed_filename(), zend_get_executed_lineno(), to, hdr ? hdr : "", subject);
|
||||
|
||||
zend_string_free(date_str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user