WordPress Contact Form Not Sending Email: How to Fix

Contact form says sent but no email arrives? Fix the From address, set up SMTP and run four tests so you stop missing messages from customers.

Published 1 December 2026

Saving a form and sending an email are two separate steps, so a success message does not prove the email arrived. First, check your spam folder and the form's saved entries. Then use a From address on your own domain, put the visitor's email in Reply-To, send through SMTP, and test the full path to your inbox.

Stop losing messages while you fix it

  • Put your phone and WhatsApp number above the form. Write the WhatsApp number in full, such as 92 3XX XXXXXXX.
  • Save form entries on the site as well as emailing them. In Elementor Pro, use Form Submissions and its spam settings. Other form plugins may need a setting or an add-on.
  • Look through old entries and reply to anyone you missed.

Find the step that fails

Send one message yourself, then pick the matching result:

  • There is an error, or nothing happens when you press Send: the form itself may be failing. Check the required fields. If the page just reloads, Elementor says a plugin or theme may be in conflict. Test this on a staging copy, so your live site keeps working.
  • The entry is saved, but there is no email: check the To address, then follow the From and SMTP steps below.
  • The email is in spam: check SPF, DKIM and your From address. Our spam folder guide goes through them.
  • It reaches Gmail, but not your domain email: if your website and mailbox are with different companies, ask your host to check email routing. Your website's server may be keeping mail for your domain because it thinks the mailbox is there. In cPanel, this setting is called Email Routing. Do not change it until you know where your mailbox is.

Why PHP mail can fail

WordPress sends form emails through a function called wp_mail. With its normal setup, this uses PHP mail on your hosting server. It does not log in to your mailbox.

Some hosts turn PHP mail off to stop spam. Even if it works, the receiving email company may not trust that server to send mail for your domain. SPF and DKIM records help it check. WordPress also warns that a successful result from wp_mail does not mean the person received the email.

Put the right address in each field

Example with made-up addresses for a shop that uses example.com:

To:          orders@example.com
From Email:  website@example.com
From Name:   Example Shop website
Reply-To:    the email field from your form
Subject:     New website message

In Elementor Pro, open the Form widget and its Content tab. Make sure Email is listed in Actions After Submit, then open the Email section. Other form plugins may use different names.

To is the inbox you read. From Email should be a real mailbox on your website's domain. Reply-To should be the customer's address, so your reply goes to them.

Do not put a customer's Gmail address in From Email. Your hosting server is not Gmail. Google tells senders not to pretend to be Gmail, and some hosts refuse mail from a domain they do not manage.

If you do not have email on your domain yet, read how to set it up. Our Rs 3,000 starter bundle includes a .com and one business email for the first 12 months. It has no hosting and no website.

Send the email through SMTP

SMTP lets your website send mail through an email service, using a login. It works in a similar way to an email app on your phone.

Backup first: back up your site's files and database before you install or change an email plugin.

  1. Create a separate mailbox for the website, such as website@yourdomain.com. You can then change its password without affecting your main inbox.
  2. Go to Plugins > Add Plugin (older versions say Add New) and find an SMTP plugin that supports your email service. Check the plugin before you install it.
  3. Copy the SMTP server, port, encryption, username and sign-in method from your email service's help page. Do not guess. Some services need an app password or their own sign-in screen, not your normal password.
  4. Use the same From address in the plugin and the form.
  5. Keep encryption on. If you see a certificate error, ask your email service for the correct server name. Do not turn off certificate checks.
  6. Screenshot your DNS records, then add the SPF and DKIM records your email service gives you. If you already have an SPF record, do not add a second one. Update it so it covers every service that sends your mail. See SPF, DKIM and DMARC explained.

Never send the mailbox password in a WhatsApp group.

Test from the form to your reply

Use a different subject or message for each test, such as "Test 2, 4:10 pm". This helps you match it with the right email. Copy this test sheet:

Date: ____________   Checked by: ____________

1. Send a test email from the SMTP plugin.
   Inbox / spam / not received

2. Use the real form from a phone on mobile data.
   Entry saved: yes / no    Email received: yes / no

3. Use it again with an email from another company.
   Entry saved: yes / no    Email received: yes / no

4. Open the email and press Reply.
   Does it go to the visitor? yes / no

If test 1 fails, check the SMTP login and settings. If test 1 works but test 2 does not, check the form's email action and To address. If only test 3 fails, check that the form does not use the visitor's email as From. If test 4 uses your website address, fix Reply-To. If the emails go to spam, check SPF and DKIM again.

Run the tests once a month. Also run them after you change your host, DNS, mailbox password or form plugin.

Common questions

Can I receive form emails in Gmail?

Yes. You can put your Gmail address in the To field. Keep From Email on your own domain when your website sends the mail. If a plugin signs in and sends through a Gmail account, use a From address that account is allowed to send from.

Why did my form stop sending after I changed hosting?

The new server may have PHP mail turned off, or your SPF record may not allow it to send mail. An SMTP password or email routing setting may also be wrong. Check these settings and compare your DNS records with the old ones.

Does this affect WooCommerce order emails too?

It can. WooCommerce also uses wp_mail by default, so the same mail problem can stop order emails. After you set up SMTP, place a small test order. Check that both you and the customer get the emails you expect.

Should I turn off spam protection to test the form?

No. Keep it on and test the form like a real visitor would. If it blocks real people, check its log and correct that rule or setting. Turning it off can fill your saved entries and inbox with spam.

Sources

Read next

Check a domain name