By default, WordPress sends email through your server's built-in mail function, which many inbox providers treat with suspicion because it isn't authenticated the way a dedicated email service is. Routing that mail through a third-party SMTP service instead means every message is sent through a provider built specifically for delivery, with proper authentication behind it. This makes a real difference for contact form replies, order confirmations, password resets, and any other automated email your site sends.
When you need this
If your contact form submissions, WooCommerce order emails, or password reset links are landing in spam or not arriving at all, a third-party SMTP service is usually the fix. It's also worth setting up proactively for any site that depends on automated email, such as an online store or a membership site.
This is different from your regular business inbox (the one you check day to day). A transactional SMTP service only sends automated emails generated by your website; it isn't a mailbox you log into to read mail.
Step 1: Choose an SMTP service and get its credentials
Several providers offer a free tier suitable for a small business site's automated email volume. Sign up with any transactional email provider of your choice, then from their dashboard collect:
- The SMTP hostname (e.g. a value like smtp.providername.com)
- The SMTP port (usually 587 for TLS, or 465 for SSL)
- A username and API key or password generated specifically for SMTP sending
Keep this information handy. You'll enter it into a WordPress plugin in the next step, not into your hosting account directly.
Step 2: Install an SMTP plugin on your WordPress site
- Log in to your WordPress admin dashboard.
- Go to Plugins, then Add New Plugin.
- Search for an SMTP mailer plugin (several well-reviewed free options exist for this exact purpose) and click Install Now, then Activate.
Step 3: Connect the plugin to your SMTP service
- Open the plugin's settings page from your WordPress dashboard menu.
- Select your provider from the list, or choose Other SMTP if it isn't listed.
- Enter the SMTP Host, Port, and set Encryption to TLS or SSL as required by your provider.
- Enter the SMTP Username and Password/API Key you collected in Step 1.
- Set the From Email to an address on your own domain, and verify that address with your provider if asked to (this step confirms you control the domain and significantly improves delivery).
- Save the settings, then use the plugin's built-in Send a Test Email feature to confirm everything works before relying on it.
Always send a test email after setup. A working test confirms your credentials and sender address are correct, and catches typos before a real customer misses an order confirmation.
Step 4: Check your domain's email authentication records
For the best delivery results, your domain should have correctly configured SPF and DKIM records that include your SMTP provider. Most providers show you exactly which DNS records to add during setup, and you add these the same way you'd add any other DNS record for your domain.
A note on WooCommerce stores
If you run a WooCommerce store, this setup is especially important: order confirmations, shipping notifications, and failed-payment alerts are all sent through the same WordPress mail function, so a missed order email because it landed in spam can mean a lost sale or a confused customer.
If contact form or order emails are still not arriving after completing this setup, see How to Fix WordPress Not Sending Emails for further troubleshooting steps.