Skip to content

Contact Form Not Sending Emails: Fix for Elementor, CF7 and WPForms

On this page

Last updated: · By

Short answer: when a contact form doesn’t send email, the form itself is almost always fine. The problem is how WordPress sends the message: through the server’s PHP function, with no authentication, from a sender address that doesn’t belong to your domain. The fix is to send through an authenticated SMTP service (on Cloudways: Elastic Email or the SMTP add-on from the panel, or a plugin like WP Mail SMTP), set a sender address on your own domain, and add SPF and DKIM records. It applies equally to Elementor, Contact Form 7 and WPForms, and takes about half an hour.

⏱ Fix time: 20–40 minutes (including waiting for DNS) · Difficulty: medium · Last checked against the panel and the official docs: 6 Nov 2026

Why a contact form doesn’t send email

To fix it once and for all, it helps to understand what happens behind the scenes when someone clicks “Send”.

Every form plugin in WordPress hands the email to a single WordPress function, wp_mail. By default it sends through PHP’s mail function, which means straight from the server that hosts your site. A server like that has no reputation as a mail sender, and usually has no authentication records for your domain. Gmail, Outlook and other mail providers see a message arriving from a random server that claims to be from your domain, and they filter it to spam or drop it.

Cloudways itself also recommends not relying on direct sending from cloud servers, and sending through an external service. With some cloud providers, such as Vultr and Google Cloud, outbound port 25 is blocked by default, so sending without an external SMTP simply won’t go out.

SMTP is the protocol mail servers use to pass messages along. When you set up “authenticated SMTP”, your site logs in with a username and password to a real mail service (Elastic Email, SendGrid, Mailgun, Gmail), and that service sends the message on your behalf. SPF and DKIM are DNS records that prove to mail providers that this service is allowed to send for your domain.

Before you start: a 3-minute check

  • The spam folder: check spam in the inbox that receives the form messages, and also the “Promotions” and “Updates” tabs in Gmail.
  • Was the submission saved? In WPForms and Elementor you can see submissions stored on the site (in WPForms on the paid version, in Elementor Pro under Submissions). With CF7 you need an extra plugin like Flamingo. If the submission is saved and the email didn’t arrive, the problem is in sending, not in the form.
  • DNS access: make sure you can manage the domain’s DNS (at your domain registrar, in Cloudflare or in DNS Made Easy). You’ll need to add records.

How do you fix a contact form that doesn’t send email?

The order matters: first connect a sending service, then verify the domain, and only at the end set up the form.

Step 1: choose a sending service

OptionWhere you set it upWhen to choose it
Elastic Email (a Cloudways add-on)In the panel, at the server levelThe simplest if you’re on Cloudways; plans by emails per month
Cloudways SMTP add-on (free)In the panel, at the server level, with your own providerWhen you already have SendGrid, Mailgun or Gmail
WP Mail SMTP pluginInside WordPress, for each site separatelyWhen you’re not on Cloudways, or when each site on the server needs a different provider
Gmail / Google WorkspaceThrough one of the options aboveFor low volume: about 500 emails a day on a free account and 2,000 on Workspace

A full comparison of email options on Cloudways, including mailboxes with Rackspace (and its forwarding limits): email options on Cloudways.

Step 2: connect the service

  1. On Cloudways: in the management panel choose Servers, then your server, then SMTP in the side menu. Choose Elastic Email or Your Own SMTP and enter your provider’s details. The setting applies to all applications on the server. Full guide: setting up SMTP on Cloudways.
  2. Outside Cloudways, or for a single site: install WP Mail SMTP and enter your provider’s details. Guide: setting up the WP Mail SMTP plugin.
  3. Use port 587 (or 2525), not port 25.
SMTP settings screen for the server in the Cloudways panel
Server-level SMTP setup

According to Cloudways, you can enable only one sending add-on per server: either Elastic Email or the SMTP add-on. If an SMTP plugin in WordPress is configured alongside the server setting, it’s hard to tell which one is actually working. It’s better to pick one place and not mix them.

Step 3: verify the domain (SPF, DKIM and DMARC)

  1. Get the SPF and DKIM records your sending provider requires.
  2. Add them in your domain’s DNS. If you already have an SPF record (for example from Google Workspace), don’t add a second one; merge them into a single record.
  3. I also recommend adding a basic DMARC record. The full explanation, including merging SPF, is here: SPF, DKIM and DMARC.
  4. In Elastic Email, verify the domain on the add-on’s screen. Guide: verifying a domain in Elastic Email.

Most domain registrars let you add TXT records from the DNS management area. If your DNS is managed in Cloudflare, add the records there and not at the registrar. The update usually takes minutes to a few hours.

Step 4: fix the form settings

The most important rule: the sender address (From) must be on your domain, ideally the same address you verified in the sending service. Put the visitor’s address in the Reply-To field, so that clicking “Reply” goes to them.

PluginWhere the setting isWhat to watch for
Elementor Pro (Form)In the form widget, Actions After Submit, then the Email sectionPut an address on your domain in From Email; in Reply-To choose the visitor’s email field
Contact Form 7In the form editor, the Mail tabAn address on your domain in the From field; in Additional Headers Reply-To: [your-email]
WPFormsSettings and then Notifications inside the formFrom Email on your domain; Reply-To from the visitor’s email field

The classic mistake is a From with the visitor’s Gmail address, or the site owner’s Gmail address. Gmail knows Gmail didn’t send this message, and blocks it. CF7 also shows a warning in the form editor when the sender address doesn’t belong to the site’s domain.

Step 5: test it

  1. In the Cloudways panel, on the server’s SMTP screen, click Send Test Email, using the verified sender address.
  2. Send a real submission from the form to a Gmail address and also to an Outlook address.
  3. In Gmail, open the message, choose “Show original” and make sure SPF and DKIM are marked PASS.
Black Friday80% off
80% off 2 months of managed hosting

The code BFCM802 takes 80% off your bill for the first two months (up to $200 off per month), including unlimited free site migrations. New customers only, and only until the offer ends.

The offer ends on December 4, 2026 at 23:59 (UTC+2).

Ends in—days—hours—minutes—seconds
Code:
Grab the 80% now

Start with a free trial, no credit card. Enter the code at checkout and check that it shows up.

After Black Friday: 30% off for 3 months with the code ASAEL. On a large server (above about $444 a month) ASAEL already saves more today. BFCM802 vs. ASAEL calculator

What are the common mistakes, and how do you fix them?

The email arrives, but in spam: usually DKIM is missing, there are two SPF records, or the sender address doesn’t match the verified domain. Check “Show original” to see what failed.

Everything is set up and still nothing goes out: a security plugin or another plugin may be taking over wp_mail, or two SMTP plugins are installed together. Keep one. WP Mail SMTP has a test email tool that shows the exact error.

The form “hangs” on sending and never finishes: this is usually a blocked port or wrong SMTP details, and the site is waiting for a connection that never happens. Try port 587 or 2525, and check the username and password.

The visitor gets a confirmation, the site owner gets nothing: the destination address in the form is wrong, or it’s on the same domain and the domain’s email is hosted somewhere else. Check the domain’s MX records.

“I need a mailbox on the server”: no. Cloudways doesn’t host mailboxes on its servers. To receive email on your domain you use Google Workspace, Microsoft 365 or the Rackspace add-on. The SMTP service is only for sending from the site.

Frequently asked questions

Why isn’t my Elementor form sending emails?

Almost always because WordPress sends the email directly from the server with no authentication, or because the sender address in the form isn’t on your domain. Connect an authenticated SMTP service, put an address on your domain in the From Email field, and the visitor’s email in Reply-To. Then test again.

Why do emails from my site end up in spam?

Because mail providers can’t verify that the message was really sent on behalf of your domain. Add the SPF and DKIM records of your sending service, and a DMARC record. Make sure there is only one SPF record.

Do I need an SMTP plugin if I’m on Cloudways?

Not necessarily. You can set up Elastic Email or your own SMTP directly in the panel, at the server level, and it applies to all the sites on it. A plugin like WP Mail SMTP is useful when each site needs a different sending provider.

Can I send my forms through Gmail?

Yes, for low volume. According to Cloudways, a free Gmail account allows about 500 emails a day and Google Workspace about 2,000. For a site with many forms or a store, a dedicated sending service is better.

What is the right sender address in a contact form?

An address on your site’s domain, for example noreply or office on that same domain, verified in the sending service. Put the visitor’s address in Reply-To. That way the message arrives and you can still reply to the visitor.

Does Cloudways provide mailboxes?

Not on the servers themselves. Cloudways offers add-ons for sending (Elastic Email, SMTP) and a Rackspace add-on for paid mailboxes. You can also use Google Workspace or Microsoft 365.

Sources

Official source: Which Email Add-on Should I Use?, How to Activate the Custom SMTP Add-on, How to Activate the Elastic Email Add-on and Does Cloudways Provide Servers for Email Hosting? (Cloudways Knowledge Base). Written and checked by Asael Dreyer · Updated: 6 Nov 2026

Disclosure: this is an independent site, not the official Cloudways site. Some links on this site are affiliate links: if you sign up through them we earn a commission, at no extra cost to you. Full details

Picture of Asael Dreyer
Asael Dreyer

Hi, I'm Asael Dreyer, CEO of an SEO agency that runs hundreds of websites hosted on dozens of Cloudways servers.
Everything you will find here comes from hands-on experience, mine and my teams', straight from the field: from the guides to the recommendations. All to help you get the most out of Cloudways.

More about me →

Need help? Got a question about your server or this guide? Write to us and we will get back to you.

More guides on this topic:
מפריד
Thanks for your message!
We will get back to you soon.
Ready to get started?

Sign up with the coupon code ASAEL