+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
  • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • Rich Text Editor
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • Contact
Home
Wordpress
Fix: WordPress Contact Form Not Sending Mails to Custom Email

Fix: WordPress Contact Form Not Sending Mails to Custom Email

Wale Adekile
September 9, 2013

I’ve always used contact forms on WP sites and they’ve always worked. However, for the first time yesterday, I had a little problem trying to make it work on a client’s website. I installed Contact Form 7, created a new form and placed the shortcode on the contact page but the thing wouldn’t send any message. I checked the email and crosschecked but still, nothing happened.


I decided to use a different email and that was it, the email was delivered instantly. It was then I realized the contact form wasn’t going to send mails to the custom email set up with Outlook. I searched WP support forum and realized there are lots of people having exactly this sort of problem. Even if you set up the custom email using Google Apps, it’s may still be the same.

Thinking it was a problem with Contact Form 7, I tried using Jetpack contact form but got the same result.

The problem here is that any other email (Gmail, Yahoo, etc) worked fine but whenever the email domain is the same as the website domain, you’re told the message is successfully sent but the message gets lost and not delivered. If you’re facing this sort of problem, there are two possible ways to fix.

1. Using WP Mail SMTP Plugin

Let me make this clear that this fix didn’t work for me though a lot of people claim it works. By installing this plugin, setting it to send all WordPress emails via SMTP may work. I installed the plugin, ran a test and the message was sent alright but it never appeared in my inbox.

wp smtp mail


However, it’s a fix that worked for a few people and it might work for you.

2. Adjusting Email Routing from cPanel

This can cause some serious problem if done wrongly. When setting up my MX records, I initially set the email routing to be detected automatically. It detected Local Mail Exchanger and this broke the whole thing. Any message sent off site got delivered but any email sent on-site using a contact form simply got lost when it hit the local sever.

email routing

It’s best to set your email routing to if you’re using Google Apps or Outlook custom email. This worked perfectly.


Previous Post
Setting up Outlook Custom Email: Best Free Alternative to Google Apps
Next Post
Understanding Online Postal Software
Wale Adekile
Husband to the world's most beautiful woman and father to two awesome kids. A nerd, obviously; also, a technical business analyst, a web designer who preaches the gospel of WordPress, and a writer. You can check out my published books on Amazon.
secure wordpress from hack attack
Wordpress

7 Simple Tips For Securing Your WordPress Account

12 years ago
mobilepress
Wordpress

How to Make Plugins Work Properly On MobilePress

11 years ago

Recent Articles

wahl rapic clip hair clipper
Wahl Rapid Clip Hair Clipper Review: DIY Made Easy
BenQ LaptopBar Review: Luxury or Necessity?
yunmai easepro unboxed
Yunmai EasePro Massage Gun Review
g20
Teendow G20 Robot Vacuum and Mop Review
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
google workspace
How to Migrate Emails From Google Workspace/G Suite to cPanel
synology diskstation ds920+
Synology DiskStation DS920+ Review
playstation 4
Why I haven’t Upgraded to the PlayStation 5 Yet
pain
Started Watching Anime as an Adult? You’re Not Alone

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy