DMARC - Rejection Emails
What is DMARC?
DMARC standardizes how email receivers perform email authentication using the well-known SPF and DKIM mechanisms. This means that senders will experience consistent authentication results for their messages at AOL, Gmail, Hotmail, Yahoo!, and any other email receiver implementing DMARC.
How Am I Affected?
If you utilize a form on your website which has visitors send an email using a 'FROM' field in which they input their email addresses, there is a chance that the email will fail due to authentication if the @domain.com address is using DMARC. As of this writing, this only affects @yahoo.com addresses. However, this may change in the future.Note:
Emails that are rejected due to the DMARC policy will normally indicate as much within the error itself. An example of an email rejected by Gmail can be seen below:
What Can I Do To Fix This?
We recommend updating the 'FROM' field within your form to use an email address of @example.com. Additionally, the 'REPLY-TO' setting can be used with any DMARC compliant address and will successfully send emails without rejection such as @yahoo.com, @hotmail.com, @gmail.com, or @aol.com.
An example can be seen in the following header:
$headers = 'From: firstname.lastname@example.org' . " " . 'Reply-To: email@example.com' . " " . 'X-Mailer: PHP/' . phpversion();
The following articles are for reference only. Please note that Hostgator cannot offer direct support for the information provided below.