From 614326822d8bfffa88708f9c5c54636d05ccb84a Mon Sep 17 00:00:00 2001 From: robert Date: Sat, 26 Nov 2005 17:33:36 +0000 Subject: [PATCH] return the result of mail() as result of send() --- include/classes/email.php-class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/classes/email.php-class b/include/classes/email.php-class index 5f6454a..9b3614b 100755 --- a/include/classes/email.php-class +++ b/include/classes/email.php-class @@ -253,7 +253,7 @@ class email { //print("To: ".$util->htmlify($recpt)."
\n"); //print(nl2br($util->htmlify($hdrs))); //print(nl2br($util->htmlify($mtxt))); - mail($recpt, $subj, $mtxt, $hdrs); + return mail($recpt, $subj, $mtxt, $hdrs); } function mimeencode($fieldtext) { -- 2.43.0