md_5
Well-known member
What happens here, is when we use an email services such as Amazon SES, the mail will get denied as the user's email is not a verified domain/address.
Additionally sending emails from other domains could lead to the mail server being blacklisted.
In Misc.php I suggest the following code:
Be changed to something like:
Thanks!
Additionally sending emails from other domains could lead to the mail server being blacklisted.
In Misc.php I suggest the following code:
PHP:
$mail->send(
XenForo_Application::get('options')->contactEmailAddress, '', array(
'Sender' => XenForo_Application::get('options')->contactEmailAddress
),
$user['email'], $user['username']
);
PHP:
$mail->send(
XenForo_Application::get('options')->contactEmailAddress, '', array(
'Sender' => XenForo_Application::get('options')->contactEmailAddress
),
XenForo_Application::get('options')->contactEmailAddress, $user['username'] . '(' . $user['email'] . ')'
);
Thanks!