Reply to thread

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:

[PHP]            $mail->send(

                XenForo_Application::get('options')->contactEmailAddress, '', array(

                    'Sender' => XenForo_Application::get('options')->contactEmailAddress

                ),

                $user['email'], $user['username']

            );[/PHP]

Be changed to something like:

[PHP]            $mail->send(

                XenForo_Application::get('options')->contactEmailAddress, '', array(

                    'Sender' => XenForo_Application::get('options')->contactEmailAddress

                ),

                XenForo_Application::get('options')->contactEmailAddress, $user['username'] . '(' . $user['email'] . ')'

            );[/PHP]


Thanks!


Back
Top Bottom