From edc7a9151924d3cb4be041fb41c791bb49a68dbb Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Thu, 22 Jul 2010 05:28:21 +0000 Subject: [PATCH] - tell PHPMailer to throw Exceptions so we can catch them, fixes #298 --- lib/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.php b/lib/init.php index 5ca8ae3e..28b4f0bd 100644 --- a/lib/init.php +++ b/lib/init.php @@ -430,7 +430,7 @@ if($page == '') /** * Initialize the mailingsystem */ -$mail = new PHPMailer(); +$mail = new PHPMailer(true); if(PHPMailer::ValidateAddress($settings['panel']['adminmail']) !== false) { // set return-to address and custom sender-name, see #76