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

Signup Admin options moved to shortcode. Added maintenance page to Admin -> Users for resending emails to unactivated accounts.

This commit is contained in:
Cameron
2015-05-16 19:17:24 -07:00
parent e1c11ad019
commit c5d6bae3ad
8 changed files with 261 additions and 208 deletions

View File

@@ -1144,6 +1144,15 @@ class e_system_user extends e_user_model
$eml['e107_header'] = $userInfo['user_id'];
// $mailer->AddCustomHeader("X-e107-id: {$userInfo['user_id']}");
}
if(getperms('0') && E107_DEBUG_LEVEL > 0)
{
e107::getMessage()->addDebug("Email Debugger active. <b>Simulation Only!</b>");
e107::getMessage()->addDebug($mailer->preview($eml));
return true;
}
return $mailer->sendEmail($userInfo['user_email'], $userInfo['user_name'], $eml, false);
}