diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -669,7 +669,7 @@ function map($expression, $array) /** * Send a mail. Expects array for Header => Content pairs with Body => for the mail body. - * @return nothing + * @return nothing useful */ function mail($p) { @@ -677,7 +677,8 @@ function mail($p) unset($p['Body']); $mail = new it_mail($p); $mail->add_body($body); - $mail->send(); + + return $mail->send(); } /** |