sandywp / plugins / configure-smtp
Configure SMTP
Configure SMTP mailing in WordPress, including support for sending email via SSL/TLS (such as Gmail).
Ready in seconds.
v3.5 6,000+ installs WP 5.5+

What you get inside
1 screen-
A screenshot of the plugin's admin settings page.
About this plugin
Configure SMTP mailing in WordPress, including support for sending email via SSL/TLS (such as Gmail).
This plugin is the official successor to the original SMTP plugin for WordPress (wpPHPMailer).
Use this plugin to customize the SMTP mailing system used by default by WordPress to handle outgoing emails. It offers you the ability to specify:
- SMTP host name
- SMTP port number
- If SMTPAuth (authentication) should be used
- SMTP username
- SMTP password
- If the SMTP connection needs to occur over ssl or tls
In addition, you can instead indicate that you wish to use Gmail to handle outgoing email, in which case the above settings are automatically configured to values appropriate for Gmail, though you’ll need to specify your Gmail email address (including the “@gmail.com”) and password.
Regardless of whether SMTP is enabled, the plugin provides you the ability to define the name and email of the ‘From:’ field for all outgoing emails.
A simple test button is also available that allows you to send a test email to yourself to check if sending email has been properly configured for your site.
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
Questions
- I am already able to receive email sent by my site, so would I have any use or need for this plugin?
Most likely, no. Not unless you have a preference for having your mail sent out via a different SMTP server, such as Gmail.
- How do I find out my SMTP host, and/or if I need to use SMTPAuth and what my username and password for that are?
Check out the settings for your local email program. More than likely that is configured to use an outgoing SMTP server. Otherwise, read through documentation provided by your host or contact them (or someone more intimately knowledgeable about your situation) directly.
- I’ve sent out a few test emails using the test button after having tried different values for some of the settings; how do I know which one worked?
If your settings worked, you should receive the test email at the email address associated with your WordPress site user account. That email contains a timestamp which was reported to you by the plugin when the email was sent. If you are trying out various setting values, be sure to record what your settings were and what the timestamp was when sending with those settings.
- Why am I getting this error when attempting to send a test message: `SMTP Error: Could not connect to SMTP host.`?
There are a number of reasons you could be getting this error:
- Your server (or a router to which it is connected) may be blocking all outgoing SMTP traffic.
- Your mail server may be configured to allow SMTP connections only from certain servers.
- You have supplied incorrect server settings (hostname, port number, secure protocol type).
- What am I getting this error: `SMTP Error: Could not authenticate.`?
The connection to the SMTP server was successful, but the credentials you provided (username and/or password) are not correct. Bear in mind these credentials are likely unrelated to the ones you use to log into your site.
- Does this plugin include unit tests?
Yes.
sandywp / also on the shelf
Try another plugin
4.7 · 30K+ installs
Disable the built-in front-end search capabilities of WordPress.
4.9 · 5K+ installs
Conveniently close or open comments for a post or page with one click from the admin listing of posts.
4.4 · 3K+ installs
Replace text with other text. Handy for creating shortcuts to common, lengthy, or frequently changing text/HTML, or for smilies.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.