Photo: Unsplash — free to use, no attribution required
How WordPress Handles Email by Default
If your WordPress site's contact forms, order notifications, or password resets are not reaching recipients, you are dealing with one of the most common WordPress issues. The root cause is almost always the same: your site is using PHP's default mail function instead of an authenticated SMTP connection.
Shared hosting environments compound this problem. Because thousands of websites share the same server IP, that IP often ends up on email blacklists — even if your site has never sent spam. When your legitimate emails go out from a blacklisted IP without proper authentication, they have virtually no chance of reaching the inbox.
Switching to SMTP authentication routes your emails through a dedicated, reputable mail server with proper DNS records and sender reputation. This single change resolves the majority of WordPress email delivery problems.
What You Need for Reliable Delivery
Start by deciding which SMTP service fits your needs. The main options for WordPress sites include: Gmail/Google Workspace SMTP (good for low volume, free with Google account), Microsoft 365/Outlook SMTP (ideal if you already use Microsoft for business email), SendGrid (generous free tier of 100 emails/day), Mailgun (5,000 free emails for the first three months), and Amazon SES (extremely low cost at scale).
You will need administrator access to both your WordPress dashboard and your domain's DNS management panel. DNS access is required to add SPF, DKIM, and potentially CNAME records that authenticate your domain as an authorized sender through your chosen SMTP provider.
Install your chosen SMTP plugin before gathering credentials. The two most reliable options are WP Mail SMTP (by WPForms) and FluentSMTP. Both support all major SMTP providers and provide connection testing tools that simplify troubleshooting.
Plugin Installation and Configuration
After installing WP Mail SMTP or FluentSMTP, configure the mailer type. Most plugins offer both direct SMTP configuration and API-based connections. API connections (available for SendGrid, Mailgun, Amazon SES, and others) are generally more reliable than SMTP because they bypass potential port blocking on your hosting server.
For direct SMTP setup, enter these settings carefully — a single character error in the server address or port number will cause connection failure. Double-check your credentials by logging into your SMTP provider's dashboard to confirm the username and password or API key are correct.
Configure the "Return Path" to match your From address. This ensures that bounce notifications (undeliverable messages) come back to the correct address. Some SMTP plugins call this "Set the return-path to match the From Email" — enable this option if available.
Save your settings and proceed to the testing step before assuming the configuration is complete. Many WordPress email issues are only discovered when a test email fails — and it is better to catch these issues now than when a customer is waiting for an order confirmation.
Sending Test Emails
Systematic testing prevents surprises after deployment. Create a checklist: test basic sending, test to multiple email providers, verify authentication headers, check spam folder placement, test all automated email types (forms, notifications, transactional), and confirm that reply-to addresses work correctly.
Use a tool like MXToolbox to verify your DNS records are configured correctly. Enter your domain and check SPF, DKIM, and MX records. The tool highlights any errors or misconfigurations that could affect email delivery. Fix any issues it identifies before relying on your email configuration for production traffic.
Monitor email delivery for the first week after configuration. Most SMTP services provide delivery logs and bounce reports. Review these daily during the initial period to catch any delivery issues early. Common problems that surface during this monitoring period include SPF alignment failures, DKIM signature mismatches, and recipient server rejections.
Ongoing Best Practices
Email delivery is not a set-and-forget configuration. Monitor your sender reputation regularly using tools like Google Postmaster Tools (for Gmail delivery) and Microsoft SNDS (for Outlook delivery). These free tools show how receiving servers perceive your email — including spam complaint rates, authentication pass rates, and delivery success.
Keep your SMTP plugin and WordPress core updated. Security vulnerabilities in outdated email plugins can be exploited for spam sending, which damages your domain's sender reputation. Schedule regular updates and test email delivery after each update to catch any compatibility issues.
If you switch hosting providers, re-verify your SMTP configuration. Different hosts have different outgoing port policies, IP reputations, and firewall rules. What worked on your old host may not work identically on the new one. Run the full testing checklist after any infrastructure change.
Frequently Asked Questions
What are the SMTP settings for Google Workspace?
For authenticated sending: Server: smtp.gmail.com, Port: 587, Encryption: STARTTLS, Username: your full Google Workspace email address. For SMTP relay (applications and devices): Server: smtp-relay.gmail.com, Port: 587, Encryption: TLS. The relay service must be configured in the Admin Console under Apps → Google Workspace → Gmail → Routing before it will accept connections.
Why are my Google Workspace emails going to spam?
Check three things: your SPF record includes _spf.google.com, DKIM is enabled and the DNS record is correctly published, and your DMARC record is properly configured. Use Google's CheckMX tool or MXToolbox to verify all three. If authentication passes but emails still reach spam, review your email content for spam trigger patterns and check your domain reputation in Google Postmaster Tools.
How much does Google Workspace email cost in India?
Google Workspace Business Starter begins at an entry-level monthly price per user (billed annually) and includes custom domain email, 30GB storage per user, Google Meet, and basic administrative controls. Business Standard and Business Plus tiers add more storage and advanced features. Google frequently offers promotional pricing for new Indian business customers.
Can I use Google Workspace SMTP with WordPress?
Yes. You can configure WordPress to send through Google Workspace using either the Gmail SMTP server (smtp.gmail.com on port 587 with your Workspace credentials) or the Google Workspace API method available in plugins like WP Mail SMTP. The API method is more reliable as it uses OAuth 2.0 authentication and avoids potential port blocking on shared hosting.