WP Mail SMTP by WPForms

Descripción

Plugin WordPress de correo SMTP

¿Tienes problemas porque tu sitio WordPress no manda correos electrónicos? No estás solo. Más de 900.000 webs usan WP Mail SMTP para solucionar sus problemas de entrega de correo electrónico.

WP Mail SMTP soluciona los problemas de entrega de correos electrónicos reconfigurando la función wp_mail() PHP para que use un proveedor adecuado de SMTP.

¿Qué es SMTP?

SMTP (Simple Mail Transfer Protocol) is an industry standard for sending emails. SMTP helps increase email deliverability by using proper authentication.

Popular email clients like Gmail, Yahoo, Outlook, etc are constantly improving their services to reduce email spam. One of the things their spam tools look for is whether an email is originating from the location it claims to be originating from.

If the proper authentication isn’t there, then the emails either go in your SPAM folder or worst not get delivered at all.

This is a problem for a lot of WordPress sites because by default, WordPress uses the PHP mail function to send emails generated by WordPress or any contact form plugin like WPForms.

The issue is that most WordPress hosting companies don’t have their servers properly configured for sending PHP emails.

The combination of two causes your WordPress emails to not get delivered.

¿Cómo funciona WP Mail SMTP?

WP Mail SMTP plugin allows you to easily reconfigure the wp_mail() function to use a trusted SMTP provider.

This helps you fix all WordPress not sending email issues.

WP Mail SMTP plugin includes four different SMTP setup options:

  1. SMTP de Mailgun
  2. SMTP de SendGrid
  3. SMTP de Gmail
  4. El resto de SMTP

For all options, you can specify the “from name” and “email address” for outgoing emails.

Instead of having users use different SMTP plugins and workflows for different SMTP providers, we decided to bring it all in one. This is what makes WP Mail SMTP, the best SMTP solution for WordPress.

SMTP de Mailgun

Mailgun SMTP is a popular SMTP service provider that allows you to send large quantities of emails. They allow you to send your first 10,000 emails for free every month.

WP Mail SMTP plugin offers a native integration with MailGun. All you have to do is connect your Mailgun account, and you will improve your email deliverability.

Read our Mailgun documentation for more details.

SMTP de Gmail

Often bloggers and small business owners don’t want to use third-party SMTP services. Well you can use your Gmail or G Suite account for SMTP emails.

This allows you to use your professional email address and improve email deliverability.

Unlike other Gmail SMTP plugins, our Gmail SMTP option uses OAuth to authenticate your Google account, keeping your login information 100% secure.

Read our Gmail documentation for more details.

SMTP de SendGrid

SendGrid has a free SMTP plan that you can use to send up to 100 emails per day. With our native SendGrid SMTP integration, you can easily and securely set up SendGrid SMTP on your WordPress site.

Read our SendGrid documentation for more details.

Otros SMTP

WP Mail SMTP plugin also works with all major email services such as Gmail, Yahoo, Outlook, Microsoft Live, and any other email sending service that offers SMTP.

Puedes configurar las siguientes opciones:

  • Especifica un servidor SMTP.
  • Especifica un puerto SMTP.
  • Elige encriptación SSL / TLS.
  • Elige usar la identificación SMTP o no.
  • Especifica un usuario y contraseña SMTP.

WP Mail SMTP also gives you the option to insert your password in your wp-config.php file, so it’s not visible in your WordPress settings.

To see recommended settings for the popular services as well as troubleshooting tips, check out our SMTP documentation.

We hope that you find WP Mail SMTP plugin helpful.

Reconocimientos

WP Mail SMTP plugin was originally created by Callum Macdonald. It is now owned and maintained by the team behind WPForms – the best drag & drop form builder for WordPress.

You can try the free version of WPForms plugin to see why it’s the best in the market.

What’s Next

If you like this plugin, then please consider checking out our other popular plugins:

Visit WPBeginner to learn from our WordPress Tutorials and find out about other best WordPress plugins.

[1.3.3] – 2018-07-05

  • Fixed: Compatibility with other plugins, that are using Google Service or Google Client classes.
  • Changed: Optimize code loading.

1.3.2 – 2018-06-29

  • Make sure that other plugins/themes are not conflicting with our TGMPA library.

1.3.1 – 2018-06-29

  • Fixed: Other SMTP: Clear new Debug messages about failed email delivery on next successful email sending.
  • Fixed: Introduce conditional autoloader to workaround Gmail PHP 5.5 requirement and its library compatibility issues vs PHP 5.3+ minimum viable plugin version.

1.3.0 – 2018-06-28

  • Added: New option: force From Email rewrite regardless of the current value.
  • Added: New option: force From Name rewrite regardless of the current value.
  • Added: New option: remove all plugin data on plugin uninstall (when user deletes it).
  • Added: Notify site admins in wp-admin area with a notice about last failed email delivery. Cleans up on successful delivery.
  • Added: Notify site admins in wp-admin area with a notice about possible compatibility issues with other SMTP and email delivery plugins.
  • Added: Improve User Debug Experience when doing Email Test – display helpful description and steps to fix the issue.
  • Added: New users: provide default SMTP Port value for new users based on Encryption selection.
  • Added: New users: notify about not configured plugin settings.
  • Added: New users: Recommend free WPForms Lite plugin for those who don’t have it.
  • Added: SendGrid/Mailgun: provide support for multipart/alternative types of emails.
  • Added: Gmail: new button to remove connection and to connect a new Google account.
  • Fixed: Support plugin installation into /mu-plugins/ directory.
  • Fixed: SendGrid: required text/plain part of email being the first one – fixes plain text emails not having links.
  • Fixed: SendGrid and Mailgun: improperly sending plain text emails in html format.
  • Fixed: SMTP Debug output was empty in some cases.
  • Fixed: Compatibility with lots of other plugins that use Google Analytics library of different versions.
  • Fixed: “client_id is empty” is no more a problem, should be fixed.
  • Changed: For SendGrid and Mailgun allow using custom defined attachments names if present. Fallback to file name.
  • Changed: Gmail: switch to a wider scope to prevent possible issues in certain circumstances.
  • Changed: Remove whitespaces start/end of keys, secrets etc.
  • Changed: Improved helpful description tests of various options.
  • Changed: Improved plugin autoloading functionality.

1.2.5 – 2017-02-05

  • Fixed: Return path can’t be turned off.
  • Fixed: Authentication sometimes can’t be turned off.
  • Fixed: Auto TLS sometimes 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 From Name option).
  • 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 TLS option on plugin activation.
  • Fixed: Providers autoloading improved for certain Windows-based installs.
  • Fixed: Use the proper path to load translations from plugin’s /languages directory.
  • 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 – 2017-01-28

  • Fixed: Improved escaping in debug reporting.

1.2.3 – 2017-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.php to 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_debug to 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 email, instead of a generic text.
  • Changed: Turn off $phpmailer->SMTPAutoTLS when No encryption option is set to prevent error while sending emails.
  • Changed: Hide Pepipost for those who are not using it.
  • Changed: WP CLI support improved.

0.10.1

  • Addition of Pepipost and cleanup of admin page.

0.10.0

  • Addition of Pepipost and cleanup of admin page.

0.9.6

  • Minor security fix, sanitize test email address.

0.9.5

  • Minor security fix, hat tip JD Grimes.

0.9.4

  • Improvement to the test email function, very low priority update.

0.9.3

  • Fixing reported issue with passing by reference. props Adam Conway

0.9.2

  • Removing the deprecation notice.

0.9.1

  • $phpmailer->language became protected in WP 3.2, no longer unset on debug output.

0.9.0

  • 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().

0.8.7

  • Fix for a long standing bug that caused an error during plugin activation.

0.8.6

  • The Settings link really does work this time, promise. Apologies for the unnecessary updates.

0.8.5

  • Bugfix, the settings link on the Plugin page was broken by 0.8.4.

0.8.4

  • Minor bugfix, remove use of esc_html() to improve backwards compatibility.
  • Removed second options page menu props ovidiu.

0.8.3

  • Bugfix, return WPMS_MAIL_FROM_NAME, props nacin.
  • Add Settings link, props Mike Challis https://profiles.wordpress.org/MikeChallis/

0.8.2

  • Bugfix, call phpmailer_init_smtp() correctly, props Sinklar.

0.8.1

  • Internationalisation improvements.

0.8

  • Added port, SSL/TLS, option whitelisting, validate_email(), and constant options.

0.7

  • Added checks to only override the default from name / email

0.6

  • Added additional SMTP debugging output

0.5.2

  • Fixed a pre 2.3 bug to do with mail from

0.5.1

  • Added a check to display a warning on versions prior to 2.3

0.5.0

  • Upgraded to match 2.3 filters which add a second filter for from name

0.4.2

  • Fixed a bug in 0.4.1 and added more debugging output

0.4.1

  • Added $phpmailer->ErroInfo to the test mail output

0.4

  • Added the test email feature and cleaned up some other bits and pieces

0.3.2

  • Changed to use register_activation_hook for greater compatability

0.3.1

  • Added readme for WP-Plugins.org compatability

0.3

  • Various bugfixes and added From options

0.2

  • Reworked approach as suggested by westi, added options page

0.1

  • Initial approach, copying the wp_mail function and replacing it

Capturas

  • WP Mail SMTP Settings page
  • Gmail / G Suite settings
  • Mailgun settings
  • SendGrid settings
  • Ajustes SMTP
  • Envia un correo electrónico de prueba

Instalación

  1. 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)
  2. Activate WP Mail SMTP by WPForms.
  3. Navigate to the Settings area of WP Mail SMTP in the WordPress admin.
  4. Choose your SMTP option (Mailgun SMTP, SendGrid SMTP, Gmail SMTP, or Other SMTP) and follow the instructions to set it up.
  5. Want to support us? Consider trying WPForms Pro – the best WordPress contact form plugin!

Preguntas frecuentes

Instrucciones de instalación
  1. 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)
  2. Activate WP Mail SMTP by WPForms.
  3. Navigate to the Settings area of WP Mail SMTP in the WordPress admin.
  4. Choose your SMTP option (Mailgun SMTP, SendGrid SMTP, Gmail SMTP, or Other SMTP) and follow the instructions to set it up.
  5. 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.

¿Puedes añadir la funcionalidad x, y o z al plugin?

Respuesta corta: puede.

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:
https://wpforms.com/contact/

Reseñas

STAY AWAY!! MAJOR SECURITY FLAW

This plugin stores password information in plain text. Our account was compromised.
1) Why?
2) Why is the warning placed at the bottom of the form and not on the top in BOLD RED LETTERS?

If you use this plugin then please store the information in your wp-config.php file. But I would still be wary of using this plugin as this looks like a setup – it took only a few hours from using this plugin to the account being compromised.

Merci beaucoup

Superb plugins : if you have plesk and mod security is on : deactivate it before registring google account. otherwell it will not accept using google api

tnx a lot

Plugin works but stores password in plain text and doesn’t clean up after itself

This plugin absolutely does its job.

However, my password is stored in my database in plain text in two separate fields.

I think one of these fields (smtp_pass or wp_mail_smtp) was from a previous version of the plugin.

I deleted the plugin through the admin interface and my password is still stored in plain text in two separate fields.

I’m disappointed that a big company like WPForms would have such basic issues with a plugin that has nearly 1 million installs.

Sincerely,
Kevin.

Leer todas las 310 reseñas

Colaboradores y desarrolladores

“WP Mail SMTP by WPForms” es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

“WP Mail SMTP by WPForms” ha sido traducido a 16 idiomas. Gracias a los traductores por sus contribuciones.

Traduce “WP Mail SMTP by WPForms” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .