Skip to main content

Email failed because of DMARC policy

Comments

3 comments

  • cPanelMichael
    Hello, Can you verify the full steps you are taking to reproduce this issue? For instance, how are you sending the email, and is it from an email account hosted on the cPanel server? Thank you.
    0
  • JohnDavid
    Thank you Michael for the reply. Yes, it was email account hosted on the cPanel server. The recipient are also hosted on cPanel server and Gmail. This was also for specific domain. I don't think why yahoo rejecting it to send.
    0
  • Muhammed Fasal
    I recommend that you update 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: user@example.com' . " " . 'Reply-To: user@yahoo.com' . " " . 'X-Mailer: PHP/' . phpversion();
    0

Please sign in to leave a comment.