1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Minor GUI fixes

This commit is contained in:
Cameron
2014-11-23 12:01:00 -08:00
parent eca5c13af9
commit 15cb24c8fb
4 changed files with 18 additions and 6 deletions

View File

@@ -201,6 +201,10 @@ class e107Email extends PHPMailer
{
$this->debug = true;
}
else
{
$this->Debugoutput = 'handlePHPMailerDebug';
}
$this->pref = $pref;
@@ -1140,6 +1144,11 @@ class e107MailerException extends phpmailerException
}
// Called by PHPMailer when SMTP debug is active.
function handlePHPMailerDebug($str,$other)
{
e107::getMessage()->addInfo($str);
}
//--------------------------------------
// Generic e107 Exception handler
//--------------------------------------