From 8a7c339974dceca1bf873b1e21a32b3aa2f722b6 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Tue, 2 Jul 2002 23:46:15 +0000 Subject: [PATCH] Add default arguments to new internal mail function. --- ext/standard/mail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 28472c4621..1fcad1c3e0 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -134,7 +134,7 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char if (!sendmail_path) { #ifdef PHP_WIN32 /* handle old style win smtp sending */ - if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, headers, subject, to, message) == FAILURE) { + if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, headers, subject, to, message, NULL, NULL, NULL) == FAILURE) { if (tsm_errmsg) { php_error(E_WARNING, "%s(): %s", get_active_function_name(TSRMLS_C), tsm_errmsg); efree(tsm_errmsg); -- 2.40.0