By default, WordPress sends email through your server’s built-in mail() function. Spam filters often distrust that email, which is why welcome messages, invoices, and password resets so often land in spam or never arrive.

Sending through an authenticated SMTP server or a transactional email API tells the receiving server your message is legitimate, and delivery improves. For the best results, pair it with correct SPF, DKIM, and DMARC records for your sending domain.

The SMTP Integration Add On connects your site to the mail provider you choose: any SMTP server (including Google Workspace and Gmail) or one of six transactional email APIs. It’s a free Add On for Paid Memberships Pro. Your existing sender settings and Paid Memberships Pro email log keep working, and you can send a test email from the settings page to confirm delivery before you go live.

Key Features

  • Custom SMTP: Connect any SMTP server with host, port, encryption, and authentication, including Google Workspace and Gmail with an app password.
  • Transactional Email APIs: Send through SendGrid, Mailgun (US or EU region), Postmark, Brevo, Resend, or MailerSend over HTTPS, even if your host blocks SMTP ports.
  • Backup Provider: Pick a second API provider that automatically retries any email your primary API provider fails to send.
  • Sandbox Mode: Stop all outgoing email on staging and development sites so test data never reaches real members.
  • Test Email and Diagnostics: Send a test from the settings page and see the exact error, plus SMTP debug details and a Gmail app password hint when something is wrong.
  • Works With Your Existing Setup: Your From name and address, Paid Memberships Pro email formatting and templates, and the Paid Memberships Pro email log all keep working with every provider.

Note: This Add On handles your site’s transactional email (system messages like receipts, account notifications, and password resets). To send newsletters or broadcast campaigns, choose a dedicated email marketing system instead.

Frequently Asked Questions

Can I use this with Google Workspace or Gmail?

Yes. Choose Custom SMTP and enter host smtp.gmail.com, port 587, TLS encryption, and check Authentication. Your username is your full Google email address. The password must be a Google app password, not your normal account password. Creating an app password requires 2-Step Verification on the account, and a Google Workspace administrator may also need to allow app passwords.

Can I use this alongside another SMTP or email delivery plugin?

We recommend running only one email delivery plugin at a time. This Add On and other SMTP plugins all take control of the same outgoing email, so having two active makes it hard to know which one actually sent a message. Deactivate the other plugin, then send a test email from Memberships > SMTP > Test Email to confirm delivery.

Does this replace Paid Memberships Pro email logging?

No. Paid Memberships Pro keeps logging your membership emails with every provider in this Add On, including the API providers. Successful and failed sends both appear under Memberships > Reports > Email Log. Emails discarded by sandbox mode are not logged.

Are emails formatted the same with an API provider as with Custom SMTP?

Yes. Paid Memberships Pro’s email formatting, including the optional email_header.html and email_footer.html templates in your theme, is applied with both Custom SMTP and the API providers.

Do attachments, CC, BCC, and Reply-To work with API providers?

Yes. File attachments and CC, BCC, and Reply-To headers are passed to the provider. Images embedded inline in a message (not attached as files) are not supported by the API providers. If you send emails that rely on inline embedded images, use Custom SMTP.

Does the backup provider work with every setup?

No. Automatic failover only applies when your primary provider is an API provider (SendGrid, Mailgun, Postmark, Brevo, Resend, or MailerSend). When the primary provider is Custom SMTP, WordPress sends through its built-in mailer and the backup is not used. Custom SMTP can’t be selected as a backup provider.

Does the Add On change who my email is from?

No. Your From name and email address still come from Memberships > Settings > Email Settings. The only exception is the optional Custom SMTP Sender Address Compatibility setting, which sends from your SMTP username for servers that require the sender to match the account you log in with.

Can I define my SMTP or API credentials in wp-config.php?

No. The current version of the Add On doesn’t read credentials from constants. Enter them on the Memberships > SMTP settings page, where they are saved in your site’s database and masked on screen.

What does sandbox mode do?

Sandbox mode intercepts and discards every outgoing email, so nothing is delivered. Use it on staging and development sites to keep test emails from reaching real inboxes. Turn it off before your site goes live.

Screenshots

The Email Provider section of the SMTP Settings Connection tab showing the Current Sender and the list of providers
Custom SMTP settings filled in with an example host, port 587, TLS encryption, authentication enabled, a username, and a masked password
The Mailgun Settings fields: Region, API Key, and Sending Domain
The Backup Provider section of the SMTP Settings Connection tab with the Backup Provider dropdown
The SMTP Settings Connection tab with the Sandbox Mode Active warning and the Enable Sandbox Mode box checked
The Test Email tab after a successful send, showing the Send To address and the Test email sent confirmation
Free Add On

Works with the free Paid Memberships Pro plugin. No paid plan needed. Create a free account or log in to download it and read the documentation.