Search code examples
wordpressemailcontact-formcontact-form-7

Contact Form 7 showing sent message but not receiving email


Experiencing issue with WP plugin, contact form 7. When I fill in the form and submit, I receive a success message stating it was sent yet I don't receive it in my emails.

The mail is not in my junk and I only received the message in my email when I input the email its being send to!?

The email it is going to is an exchange account. I can see the emails coming through using a contact form submission on the WP backend. But would like to resolve this issue.

Form

[text* your-name placeholder "Name"]

[email* your-email placeholder "Email Address"]

[text* your-dob placeholder "DOB"]

<p>Which Challenge(s) would you like to enter?</p>
[checkbox* select-challenge "1" "2" "3"]

</br>

Please tick here that you have read and accepted the [popup_trigger 
classes="popmake-food-challenge-tcs"]
<u>terms & conditions</u>[/popup_trigger] for entry & participation. 
[acceptance acceptance-997]


[submit "Send"]

Mail

To: myname@company.com

From: Website

Subject: Challenge

Reply-To: [your-email]

From: [your-name] <[your-email]>

Eating Challenge Registration

Name: [your-name]
Email: [your-email]
DOB: [your-dob]

Challenge(s): [select-challenge]

I also checked with website host that they use wp_mail() and was confirmed they do. As other contact forms send - bar this one.


Solution

  • Try setting the from: email address to wordpress@yourdomain.com. Contact Form 7 support recommends setting the from address as being on your own domain, so that the website's mailer program doesn't think it is spoofing the email being sent (sending it from an incorrect email address).

    If that doesn't work, best to use a plugin like WP Mail SMTP Plugin.

    I set it up to send contact form emails through our Gmail account, which worked well. Instructions here.