diff options
author | Andrew Dolgov <[email protected]> | 2021-03-03 13:59:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-03 13:59:53 +0300 |
commit | 3d904dc8f34d1479ed949c26d9f871dcaabcfb34 (patch) | |
tree | b8125a004d246e2b12cf2bf8fac4b44458b04af5 /init.php | |
parent | c86e2423b926456b84c9a651f55a191e4eeab81a (diff) |
block further processing if email sending failed
Diffstat (limited to 'init.php')
-rw-r--r-- | init.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ class mailer_smtp extends Plugin { if (!$rc) $mailer->set_error($rc . " " . $phpmailer->ErrorInfo); - return $rc; + return $rc ? $rc : -1; } } |