Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings.
|Author:||WPForms (profile at wordpress.org)|
|WordPress version required:||3.6|
|WordPress version tested:||4.9.4|
|Added to WordPress repository:||12-09-2007|
|Total downloads:||3 891 645|
|Active installs:||800 000+|
Click to start download
WP Mail SMTP Settings page
Gmail / G Suite settings
Send a Test Email
- Install WP Mail SMTP by WPForms either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install a WordPress plugin)
- Activate WP Mail SMTP by WPForms.
- Navigate to the Settings area of WP Mail SMTP in the WordPress admin.
- Choose your SMTP option (Mailgun SMTP, SendGrid SMTP, Gmail SMTP, or Other SMTP) and follow the instructions to set it up.
- Want to support us? Consider trying WPForms Pro – the best WordPress contact form plugin!
Can I use this plugin to send email via Gmail, G Suite, Outlook.com, Office 365, Hotmail, Yahoo, or AOL SMTP?
Yes! We have extensive documentation that covers setting up SMTP most popular email services.
Read our docs to see the correct SMTP settings for each service.
Help! I need support or have an issue.
Please read our support policy for more information.
I found a bug, now what?
If you’ve stumbled upon a bug, the best place to report it is in the WP Mail SMTP GitHub repository. GitHub is where the plugin is actively developed, and posting there will get your issue quickly seen by our developers (myself and Slava). Once posted, we’ll review your bug report and triage the bug. When creating an issue, the more details you can add to your report, the faster the bug can be solved.
Can you add feature x, y or z to the plugin?
Short answer: maybe.
By all means please contact us to discuss features or options you’d like to see added to the plugin. We can’t guarantee to add all of them, but we will consider all sensible requests. We can be contacted here:
1.2.5 – 2018-02-05
Return pathcan’t be turned off.
Authenticationsometimes can’t be turned off.
Auto TLSsometimes can’t be turned off.
- Fixed: BCC support for Gmail was broken.
- Fixed: Debug output improved to handle SELinux and grsecurity.
- Fixed: Strip slashes from plugin settings (useful for
- Fixed: Change the way sanitization is done to prevent accidental removal of useful data.
- Fixed: Plugin activation will not overwrite settings back to defaults.
- Fixed: Properly set
Auto TLSoption on plugin activation.
- Fixed: Providers autoloading improved for certain Windows-based installs.
- Fixed: Use the proper path to load translations from plugin’s
- Changed: Do not autoload on each page request plugin settings from WordPress options table.
- Changed: Do not autoload Pepipost classes unless it’s saved as active mailer in settings.
1.2.4 – 2018-01-28
- Fixed: Improved escaping in debug reporting.
1.2.3 – 2018-01-22
- Fixed: Gmail tokens were reset after clicking Save Settings.
- Fixed: Slight typo in Gmail success message.
1.2.2 – 2017-12-27
- Fixed: Correctly handle Mailgun debug message for an incorrect api key.
- Fixed: Fatal error for Gmail and SMTP mailers with Nginx web-server (without Apache at all).
- Changed: Update X-Mailer emails header to show the real sender with a mailer and plugin version.
1.2.1 – 2017-12-21
- Fixed: Failed SMTP connections generate fatal errors.
1.2.0 – 2017-12-21
- Fixed: Decrease the factual minimum WordPress version from 3.9 to 3.6.
- Changed: Improve debug output for all mail providers.
1.1.0 – 2017-12-18
- Added: New option “Auto TLS” for SMTP mailer. Default is enabled. Migration routine for all sites.
- Changed: Improve debug output – clear styles and context-aware content.
- Changed: Better exceptions handling for Google authentication process.
- Changed: Do not sanitize passwords, api keys etc – as they may contain special characters in certain order and sanitization will break those values.
- Changed: Improve wording of some helpful texts inside plugin admin area.
- Fixed: Do not include certain files in dependency libraries that are not used by Google mailer. This should stop flagging plugin by Wordfence and VaultPress.
- Fixed: Constants usage is working now, to define the SMTP password, for example.
- Fixed: Notice for default mailer.
1.0.2 – 2017-12-12
- Fixed: PHPMailer using incorrect SMTPSecure value.
1.0.1 – 2017-12-12
- Fixed: Global POST processing conflict.
1.0.0 – 2017-12-12
- Added: Automatic migration tool to move options from older storage format to a new one.
- Added: Added Gmail & G Suite email provider integration – without your email and password.
- Added: Added SendGrid email provider integration – using the API key only.
- Added: Added Mailgun email provider integration – using the API key and configured domain only.
- Added: New compatibility mode – for PHP 5.2 old plugin will be loaded, for PHP 5.3 and higher – new version of admin area and new functionality.
- Changed: The new look of the admin area.
- Changed: SMTP password field now has “password” type.
- Changed: SMTP password field does not display real password at all when using constants in
wp-config.phpto define it.
- Changed: Escape properly all translations.
- Changed: More helpful test email content (with a mailer name).
0.11.2 – 2017-11-28
- Added: Setting to hide announcement feed.
- Changed: Announcement feed data.
0.11.1 – 2017-10-30
- Fixed: Older PHP compatibility fix.
0.11 – 2017-10-30
- Added: Helper description to Return Path option.
- Added: Filter
wp_mail_smtp_admin_test_email_smtp_debugto increase the debug message verbosity.
- Added: PHP 5.2 notice.
- Added: Announcement feed.
- Changed: Localization fixes, proper locale name.
- Changed: Code style improvements and optimizations for both HTML and PHP.
- Changed: Inputs for emails now have a proper type
- Changed: Turn off
No encryptionoption is set to prevent error while sending emails.
- Changed: Hide Pepipost for those who are not using it.
- Changed: WP CLI support improved.
- Addition of Pepipost and cleanup of admin page.
- Addition of Pepipost and cleanup of admin page.
- Minor security fix, sanitize test email address.
- Minor security fix, hat tip JD Grimes.
- Improvement to the test email function, very low priority update.
- Fixing reported issue with passing by reference. props Adam Conway
- Removing the deprecation notice.
- $phpmailer->language became protected in WP 3.2, no longer unset on debug output.
- Typo in the From email description.
- Removed changelog from plugin file, no need to duplicate it.
- Optionally set $phpmailer->Sender from from email, helps with sendmail / mail().
- Fix for a long standing bug that caused an error during plugin activation.
- The Settings link really does work this time, promise. Apologies for the unnecessary updates.
- Bugfix, the settings link on the Plugin page was broken by 0.8.4.
- Minor bugfix, remove use of esc_html() to improve backwards compatibility.
- Removed second options page menu props ovidiu.
- Bugfix, return WPMS_MAIL_FROM_NAME, props nacin.
- Add Settings link, props Mike Challis https://profiles.wordpress.org/MikeChallis/
- Bugfix, call phpmailer_init_smtp() correctly, props Sinklar.
- Internationalisation improvements.
- Added port, SSL/TLS, option whitelisting, validate_email(), and constant options.
- Added checks to only override the default from name / email
- Added additional SMTP debugging output
- Fixed a pre 2.3 bug to do with mail from
- Added a check to display a warning on versions prior to 2.3
- Upgraded to match 2.3 filters which add a second filter for from name
- Fixed a bug in 0.4.1 and added more debugging output
- Added $phpmailer->ErroInfo to the test mail output
- Added the test email feature and cleaned up some other bits and pieces
- Changed to use register_activation_hook for greater compatability
- Added readme for WP-Plugins.org compatability
- Various bugfixes and added From options
- Reworked approach as suggested by westi, added options page
- Initial approach, copying the wp_mail function and replacing it