How to add a contact form to WordPress (and make sure emails arrive)

How to add a contact form to WordPress: choosing a form plugin, fields, notifications, SMTP delivery, spam protection, privacy and tracking enquiries.

Usman Muhammad UsmanUpdated October 13, 2026
How to add a contact form to WordPress (and make sure emails arrive)

For most business websites, the contact form is the most important feature on the site. It is where enquiries arrive, and it is also where things quietly break: emails land in spam, spam floods in, or a plugin update stops submissions. This guide covers how I set up forms that work reliably and convert well.

Choosing a form plugin

Popular options include WPForms, Gravity Forms, Fluent Forms, Formidable Forms and Contact Form 7. For a simple contact form, any of them works. Choose based on future needs: conditional logic, multi-step forms, file uploads, payments, CRM integrations and how entries are stored.

I prefer plugins that save every entry in the database as well as emailing it, so nothing is lost if an email fails. Contact Form 7 is free and lightweight but needs an extra plugin to store entries. Check the plugin works with your theme or page builder and the block editor.

Fields that convert

Ask only for what you need to reply well. Name, email, phone if you call back, and a message box are enough for most businesses. Each extra field reduces the number of people who complete the form. Use a dropdown for the service or topic if it helps route enquiries.

Write a clear heading and button label, such as ‘Request a quote’ rather than ‘Submit’. Tell people when to expect a reply. Show the form on the contact page and consider a short version on service pages, close to the call to action. Make sure fields are large enough to tap easily on mobile.

Reliable contact form checklist
  • Few fieldsName, email, message
  • Entries savedNot only emailed
  • SMTPAuthenticated sending
  • SPF, DKIM, DMARCDomain records set
  • Invisible spam checksHoneypot, Turnstile
  • Monthly testInbox, not spam

Notifications and confirmations

Set up the admin notification to go to an inbox someone checks, and add a second recipient if enquiries must not be missed. Use the visitor’s email as the Reply-To address, so replying goes straight to them, but keep the From address on your own domain to avoid spam filters.

Send a confirmation email to the visitor and show a clear success message or thank-you page after submission. A dedicated thank-you page also makes conversion tracking in analytics easy, which I explain in setting up Google Analytics 4.

Make sure emails arrive

By default, WordPress sends email through the web server, and many of those messages are rejected or marked as spam because the server is not authorised to send for your domain. This is the most common reason businesses miss enquiries without realising.

Install an SMTP plugin such as WP Mail SMTP or FluentSMTP and connect it to a proper email service, such as your Google Workspace or Microsoft 365 account or a transactional service. Set up SPF, DKIM and DMARC records for your domain. I explain both in fixing WordPress email with SMTP and SPF, DKIM and DMARC.

Stop spam without blocking people

Contact forms attract spam bots. Start with invisible protection: a honeypot field, which most form plugins include, and a time-based check that rejects submissions sent too quickly. Add Cloudflare Turnstile or Google reCAPTCHA v3 if spam continues, as they work mostly in the background.

Avoid puzzles and hard CAPTCHAs that frustrate real customers. For persistent spam, block submissions containing links or certain keywords. My guide to stopping form spam compares the options and when to use each.

A contact form collects personal data, so explain how you use it. Link to your privacy policy near the submit button and, if you add people to a mailing list, ask for separate, unticked consent. Store entries only as long as you need them and restrict access to the people who handle enquiries.

If you use reCAPTCHA or another third-party service, mention it in your privacy policy. These steps help meet GDPR and similar laws; see GDPR and cookie consent and the legal pages your website needs.

Beyond the basic contact form

Many businesses benefit from more specific forms: a quote request with project details, a booking enquiry with preferred dates, a callback request with a phone number only, or a free website audit form like the one I use. Specific forms qualify enquiries and make it easier to respond quickly with a useful reply.

Multi-step forms work well for longer enquiries because each step feels short. Conditional logic shows only relevant questions based on earlier answers. File uploads help when customers need to send photos or documents. Add these features only where they help the customer, and always test the form on a phone before publishing.

Test regularly

Submit a test entry after setting up the form, after any plugin or hosting change and at least once a month. Check that the notification arrives in the inbox, not spam, and that the confirmation email reaches the visitor. Include this check in your monthly maintenance.

Track how many enquiries the form generates each month. A sudden drop often means a technical problem rather than less interest. If you would like reliable forms with entries saved, SMTP and spam protection configured, they are part of every site I build through my WordPress development service.

Key takeaways

  • Choose a form plugin that stores entries as well as emailing them.
  • Keep fields to the minimum needed to reply well.
  • Use SMTP and domain authentication so notifications reach the inbox.
  • Test forms monthly and after every hosting or plugin change.

Frequently asked questions

Why are my WordPress form emails going to spam?

Usually because the server sends mail without authentication. Use an SMTP plugin with a proper email service and set SPF, DKIM and DMARC.

Which contact form plugin is best?

WPForms, Gravity Forms and Fluent Forms are excellent for most businesses. Contact Form 7 is fine for simple forms if you add entry storage.

Do I need a CAPTCHA?

Not always. Start with a honeypot and time check. Add Turnstile or reCAPTCHA v3 if spam continues.

Can I connect my form to a CRM?

Yes. Most premium form plugins integrate with popular CRMs and email platforms, or connect through tools like Zapier.

How do I track form submissions in Google Analytics?

Redirect to a thank-you page and track it as a conversion, or use the form plugin's analytics integration.

Free website audit

Get a free audit of your website

Tell me your URL and I'll send a short, prioritized list of the speed, SEO and security fixes that will make the biggest difference.

  • No obligation, no sales call
  • 5.0 rating on Google and Upwork
  • Reply within one business day
Written by Muhammad UsmanWeb Development Team Lead with 5+ years building WordPress, WooCommerce, Shopify and Wix websites. Experience · Certificates About me

More on WordPress & WooCommerce

All WordPress & WooCommerce articles

Have a project in mind?

Tell me what you're building and I'll reply with next steps and an estimate.