From 08ef0ca66dc81d805b6f1972cc22d5314f961615 Mon Sep 17 00:00:00 2001 From: Bizley Date: Wed, 11 Feb 2015 09:21:32 +0100 Subject: [PATCH] Update MultiMailer.php --- MultiMailer/MultiMailer.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/MultiMailer/MultiMailer.php b/MultiMailer/MultiMailer.php index aea78e4..b57a3fd 100644 --- a/MultiMailer/MultiMailer.php +++ b/MultiMailer/MultiMailer.php @@ -943,17 +943,14 @@ public function send() catch(phpmailerException $e) { $this->setMultiError($e->errorMessage()); - return false; } catch(Exception $e) { $this->setMultiError($e->getMessage()); - return false; } } - else { - return false; - } + + return false; } /** @@ -1083,4 +1080,4 @@ public function to($address, $name = '') return $this; } -} \ No newline at end of file +}