return the result of mail() as result of send()
authorrobert <robert>
Sat, 26 Nov 2005 17:33:36 +0000 (17:33 +0000)
committerrobert <robert>
Sat, 26 Nov 2005 17:33:36 +0000 (17:33 +0000)
include/classes/email.php-class

index 5f6454a3835ea432a0cbd3496c3700a4d38e9db3..9b3614b203595647d5d643d242c9fe597fb40ec5 100755 (executable)
@@ -253,7 +253,7 @@ class email {
     //print("To: ".$util->htmlify($recpt)."<br>\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) {