From: robert Date: Sat, 26 Nov 2005 17:33:36 +0000 (+0000) Subject: return the result of mail() as result of send() X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=614326822d8bfffa88708f9c5c54636d05ccb84a;p=php-utility-classes.git return the result of mail() as result of send() --- 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) {