Easy WP SMTP allows you to configure and send all outgoing emails via a SMTP server. This will prevent your emails from going into the junk/spam folder of the recipients.
Easy WP SMTP Features
- Send email using a SMTP sever.
- You can use Gmail, Yahoo, Hotmail’s SMTP server if you have an account with them.
- Seamlessly connect your WordPress blog with a mail server to handle all outgoing emails (it’s as if the email has been composed inside your mail account).
- Securely deliver emails to your recipients.
- Option to enable debug logging to see if the emails are getting sent out successfully or not.
- Ability to specify a Reply-to email address.
Easy WP SMTP Plugin Usage
Once you have installed the plugin there are some options that you need to configure in the plugin setttings (go to
Settings->Easy WP SMTP from your WordPress Dashboard).
a) Easy WP SMTP General Settings
The general settings section consists of the following options
- From Email Address: The email address that will be used to send emails to your recipients
- From Name: The name your recipients will see as part of the “from” or “sender” value when they receive your message
- SMTP Host: Your outgoing mail server (example: smtp.gmail.com)
- Type of Encryption: none/SSL/TLS
- SMTP Port: The port that will be used to relay outbound mail to your mail server (example: 465)
- SMTP Authentication: No/Yes (This option should always be checked “Yes”)
- Username: The username that you use to login to your mail server
- Password: The password that you use to login to your mail server
For detailed documentation on how you can configure these options please visit the Easy WordPress SMTP plugin page
b) Easy WP SMTP Testing & Debugging Settings
This section allows you to perform some email testing to make sure that your WordPress site is ready to relay all outgoing emails to your configured SMTP server. It consists of the following options:
- To: The email address that will be used to send emails to your recipients
- Subject: The subject of your message
- Message: A textarea to write your test message.
Once you click the “Send Test Email” button the plugin will try to send an email to the recipient specified in the “To” field.
Inspired by WP Mail SMTP plugin
- Go to the Add New plugins screen in your WordPress admin area
- Click the upload tab
- Browse for the plugin file (easy-wp-smtp.zip)
- Click Install Now and then activate the plugin
- Now, go to the settings menu of the plugin and follow the instructions
Can this plugin be used to send emails via SMTP?
Contributors & Developers
“Easy WP SMTP” is open source software. The following people have contributed to this plugin.Contributors
- Removed the export/import settings option. There will be a separate free addon to offer the export/import settings option.
- Removed the special Clicky plugin compatibility code as it is no longer necessary.
- Removed the use of deprecated FILTER_SANITIZE_STRING.
- Added sanitization to input fields(that were missing it).
- Removed the usage of serialize() / unserialize() functions. Replaced it with json_encode() and json_decode() where applicable.
- Two new action hooks regarding settings menu tabs for addon support.
- Fixed error on SMTP with no AUTH.
- Fixed a possible PHP object injection issue while importing a file.
- Debug option can now handle multiple “to” email addresses in an array.
- A timestamp is now added to the debug log file output.
- Fixed a typo in the description of a settings option.
- Made another change to the debug logging functionality to only output the email header (instead of the full email).
- We understand that having the full email in the log file (when debug logging is enabled) to do troubleshooting is helpful but some users can forget to disable the logging feature afterwards. This change was necessary to ensure that sensitive info cannot be exposed unintentionally in the future.
- Debug log is now reset when plugin is activated or deactivated.
- Debug log file is now in the
logsfolder and is hidden (it’s name starts with
.). It is additionally protected from public access by the .htaccess file. Thanks to @mathieg2, @burkingman and @shadowdao for their reports and input.
swpsmtp_log_file_path_overridefilter that can be used to override debug log file location.
- Added empty “index.html” file to this plugin’s folder to prevent anyone from browsing the files (even if the Option -Indexes is missing on that server).
- Improved compatibility for sites using older version of PHP and WP5.5+
- Added an option to specify BCC email address for the outgoing emails.
- Added compatibility with WordPress 5.5 (regarding changes to PHPMailer in WordPress Core).
- Fixed a conflict with the Clicky for WordPress plugin’s user interface.
- Removed unnecessary SQL queries execution on every admin page (thanks to @r33d3m33r for reporting).
- Removed the warning: Undefined index log_file_name
- Added “substitute mode” option for the “Reply-To” field. Thanks to @idave2012
- Settings are exported in JSON format now.
- Added additional sanitization to some actions on the settings page.
- Regenerated .pot file.
- Fixed potential vulnerability in import\export settings.
- Added Export\Import settings functionality.
- Added option to delete all settings and deactivate plugin.
- Fixed incompatibility with WP versions older than 4.7.0 (thanks to stevendigital for reporting).
- Set reasonable timeout for SMTP server connection attempt. This prevents admin area from being locked up for too long if your SMTP server refuses connections.
- Added spinner to indicate that test email is being sent.
- “Send Test Email” button is now disabled if there are unsaved settings changes.
- Minor settings page adjustments.
- Renamed SSL and TLS to what they actually are.
- SMTP Username and SMTP Host fields are no longer multiplying slashes (thanks to jstepak for reporting).
- Added option to encrypt password using AES-256 encryption. This requires PHP 5.3+ and OpenSSL PHP extension to be enabled on the server.
- Added clear message to indicate if test email was successfully sent or not. Now you don’t have to figure this out from debug log 🙂
- Disabled browser autocomplete for username and password fields to prevent them from being replaced by WP login credentials (if those were saved in browser).
- Removed duplicate items IDs from settings page to comply with HTML standards.
- Added configurable option to force replace From Name. The plugin was force-replacing it regardless before, now you can configure this (thanks to daymobrew).
- Fixed “Allow Insecure SSL Certificates” option was ignored (thanks to bogesman).
- Added password gag explanation to SMTP Password field.
- Added Support Forum link.
- Some minor improvements to Settings page.
- Added option to allow insecure SSL certificate usage on SMTP server (thanks to ravipatel and bradclarke365).
- Changing fields on Test Email tab is no longer shows “you have unsaved settings” notice.
- Plugin is compatible again with WP version 4.3+ (thanks to lucrus for reporting).
- Hopefully fixed inability for plugin to save settings in some circumstances (thanks to all who kept reporting this issue).
- The plugin is no longer failing if PHP mbstring extension is not installed on the server.
- Settings page is using tabs now.
- Fixed default settings were not set upon plugin activation.
- Fixed some lines that couldn’t be translated to other languages.
- Fixed potential issue with passwords that had special characters.
- Check if variables are set before interacting with them (removes PHP notices when WP debug mode is enabled) (thanks to rubas and matward).
- Test email message body is no longer having excess slashes inserted (thanks to tdcsforeveryone).
- Added option for plugin to block ALL emails if Domain Check option enabled and domain check fails (thanks to erikmolenaar).
- Plugin will display an error message if log file is not writeable when “Clear Log” is clicked.
- Actual SMTP password is replaced by a gag on the settings page.
- Fixed minor bug in Reply-To option handling (thanks to arildur).
- Some improvements in developers-related options (thanks to erikmolenaar).
- Added additional setting option to deal with email aliases (thanks to bradclarke365).
- Fixed “Reply-To” option wasn’t saving if it is blank.
- New settings option to specify a reply-to email address.
- There is a new settings option to enable debug logging.
- Added extra debug info (when test email function is used). This debug info will show more details if anything fails. This will be helpful to debug SMTP connection failure on your server.
- Some special characters in the password field were getting removed when the text sanitization was done. This has been improved.
- The settings configuration will not be deleted if you deactivated the plugin. This will prevent configuration loss if you accidentally deactivate the plugin.
- Fixed possible XSS vulnerability with the email subject and email body input fields.
- Improved the admin interface.
- The test email details now gets saved after you use it. So you don’t need to type it every single time you want to send a test email.
- Easy WP SMTP is now compatible with WordPress 4.5.
- Easy WP SMTP is now compatible with WordPress 4.4.
- Set SMTPAutoTLS to false by default as it might cause issues if the server is advertising TLS with an invalid certificate.
- Display an error message near the top of admin pages if SMTP credentials are not configured.
- Set email charset to utf-8 for test email functionality.
- Run additional checks on the password only if mbstring is enabled on the server. This should fix the issue with password input field not appearing on some servers.
- Easy SMTP is now compatible with WordPress 4.3
- Easy SMTP now removes slashes from the “From Name” field.
- Made some improvements to the encoding option.
- Fixed some character encoding issues of test email functionality
- Plugin will now force the from name and email address saved in the settings (just like version 1.1.1)
- Fixed a typo in the plugin settings
- SMTP Password is now encoded before saving it to the wp_options table
- Plugin will now also override the default from name and email (WordPress)
- Removed “ReplyTo” attribute since it was causing compatibility issues with some form plugins
- “ReplyTo” attribute will now be set when sending an email
- The plugin will only override “From Email Address” and “Name” if they are not present
- Fixed an issue where the plugin CSS was affecting other input fields on the admin side.
- “The settings have been changed” notice will only be displayed if a input field is changed
- Fixed some bugs in the SMTP configuration and mail functionality
- Plugin now works with WordPress 3.9
- Plugin now works with WordPress 3.8
- Plugin is now compatible with WordPress 3.7
- “Reply-To” text will no longer be added to the email header
- From Name field can now contain quotes. It will no longer be converted to ‘\’
- Plugin is now compatible with WordPress 3.6
- Added a new option to the settings which allows a user to enable/disable SMTP debug
- Fixed a bug where the debug output was being displayed on the front end
- First commit of the plugin