Bogdan Tanase
Member
For example I tried a test on my board sending an email from a *@yahoo.com address and this is what I get from gmail (contact email address is a gmail account):
This is caused because altering the "From" header apparently violates the DMARC specs.
A better option in my opinion would be to set the reply-to header with the customer email address and leave the from field with the default address.
Something along these lines (in Misc.php):
Code:
<***@gmail.com>: host gmail-smtp-in.l.google.com[74.125.136.27] said:
550-5.7.1 Unauthenticated email from yahoo.com is not accepted due to
domain's 550-5.7.1 DMARC policy. Please contact administrator of yahoo.com
domain if 550-5.7.1 this was a legitimate mail. Please visit 550-5.7.1
http://support.google.com/mail/answer/2451690 to learn about DMARC 550
5.7.1 initiative. 19si20642687wjx.29 - gsmtp (in reply to end of DATA
command)
This is caused because altering the "From" header apparently violates the DMARC specs.
A better option in my opinion would be to set the reply-to header with the customer email address and leave the from field with the default address.
Something along these lines (in Misc.php):
Code:
$mail->send(
XenForo_Application::get('options')->contactEmailAddress, '', array(
'Reply-To' => $user['email']
),
XenForo_Application::get('options')->defaultEmailAddress, XenForo_Application::get('options')->boardTitle
);
Last edited: