1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Fix for notifications to less than 5 people. Notification now come from the site email, not the admin email.

This commit is contained in:
Cameron
2015-05-13 17:45:24 -07:00
parent d596abc90a
commit c73c07490b
4 changed files with 75 additions and 19 deletions

View File

@@ -819,7 +819,6 @@ class e107Email extends PHPMailer
}
$identifier = deftrue('MAIL_IDENTIFIER', 'X-e107-id');
if (isset($eml['SMTPDebug'])) { $this->SMTPDebug = $eml['SMTPDebug']; } // 'FALSE' is a valid value!
@@ -959,6 +958,7 @@ class e107Email extends PHPMailer
$_SERVER["HTTP_CF_CONNECTING_IP"] = $_SERVER['SERVER_ADDR'];
$result = $this->Send(); // Actually send email
$_SERVER['PHP_SELF'] = $oldphpself;
$_SERVER['REMOTE_ADDR'] = $oldremoteaddr;