Forums

[resolved] Contact Form 7 - not sending email when email field has yahoo/hotmail address (3 posts)

  1. raven1776
    Member
    Posted 2 years ago #

    I have a simple form -- just 2 fields, Name and Email address. When I enter a yahoo or hotmail email address in the form, no email is sent even though the message for successful sending appears after I hit Send. Email is sent successfully when the email address entered in the form is gmail or any private domain email address.

    I'm using WP-Mail-SMTP plugin also... The "To:" in the Mail section of the Contact form setup is to a private email and the same email is in the From of the WP-Mail-SMTP setup....not sure it matters....

  2. raven1776
    Member
    Posted 2 years ago #

    I stumbled upon the solution.

    In short, do not put [your-email] in the "From" field in the Mail section of the Contact Form 7 setup. Instead put any of your own valid email address.

    For example, use:
    To: contact@mydomain.com
    From: contact@mydomain.com
    Additional Headers: Reply-To: [your-email]

  3. inetwerx
    Member
    Posted 2 years ago #

    Thanks for the solution. It worked perfectly. Thanks so much!!!

Topic Closed

This topic has been closed to new replies.

About this Topic