1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

Bouncing email notifications added on login. DKIM support added for outgoing mail. PHP Mailer upgraded to v5.2.8

This commit is contained in:
Cameron
2015-05-25 13:37:17 -07:00
parent 0557e770eb
commit 219c68e5ed
10 changed files with 669 additions and 613 deletions

View File

@@ -1516,11 +1516,11 @@ class e107MailManager
{
$errors[] = 'Bad element count: '.count($vals);
}
elseif ($uid || $emailAddress) // Not using admin->mailout, so just update the user table for user_id = $uid;
elseif (!empty($uid) || !empty($emailAddress)) // Update the user table for user_id = $uid;
{
require_once(e_HANDLER.'user_handler.php');
if($err = userHandler::userStatusUpdate('bounce', $uid, $emailAddress))
// require_once(e_HANDLER.'user_handler.php');
$err = e107::getUserSession()->userStatusUpdate('bounce', $uid, $emailAddress);
if($err)
{
$errors[] = $err;
}