- improve autoresponder-cron, refs #308

- let phpMailer-Class throw its exception so we can catch them
This commit is contained in:
Michael Kaufmann (d00p)
2010-07-27 09:59:53 +00:00
parent a2ab73fa41
commit 735f890e56
2 changed files with 48 additions and 56 deletions

View File

@@ -25,7 +25,7 @@ $yesterday = time() - (60 * 60 * 24);
*/
require (dirname(__FILE__) . '/../lib/class.phpmailer.php');
$mail = new PHPMailer();
$mail = new PHPMailer(true);
$mail->SetFrom($settings['panel']['adminmail'], 'Froxlor Administrator');
// Warn the customers at 90% traffic-usage