WP Mail SMTP by WPForms


Este plugin reconfigura la función wp_mail() para utilizar SMTP en vez de mail() y crea una página de opciones que te permite especificar varios ajustes.

Puedes configurar las siguientes opciones:

  • Especifica el nombre del remitente y la dirección de correo electrónico para el correo saliente.
  • Elige enviar el correo electrónico mediante SMTP o la función PHP mail().
  • Especifica un servidor SMTP (por defecto localhost).
  • Especifica un puerto SMTP (por defecto 25).
  • Elige encriptación SSL / TLS (no es lo mismo que STARTTLS).
  • Elige si usar identificación SMTP o no (por defecto no).
  • Especifica un usuario y contraseña SMTP.

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

Why WP Mail SMTP

The goal of WP Mail SMTP plugin is to help fix the common “WordPress not sending an email issue”.

Often times an email sent out by your WordPress site either lands in the spam folder or get completely rejected by popular email providers.

SMTP (Simple Mail Transfer Protocol) is the industry standard for sending emails. WP Mail SMTP helps you use proper authentication which increases email deliverability.


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 consider checking out our other projects:

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


  • Opciones avanzadas de correo electrónico
  • Opciones de SMTP
  • Opciones de Pepipost SMTP
  • Envia un correo electrónico de prueba


  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. Want to support us? Consider trying WPForms Pro – the best WordPress contact form plugin!

Preguntas frecuentes

Installation Instructions
  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. Want to support us? Consider trying WPForms Pro – the best WordPress contact form plugin!
Mi plugin aún envía correos electrónicos con la función mail()

Si otros plugins que estés usando no están programados para usarla función wp_mail() sino que usan la llamada a la función PHP’s mail() directamente se saltarán los ajustes de este plugin. Normalmente, podrás editar los otros plugins y simplemente reemplazar las llamadas a mail( con wp_mail( (simpelmente añadiendo wp_ in delante) y funcionará. Lo he probado en un par de plugins y funciona, pero puede que no funcione en otros plugins.

¿Funcionará este plugin con versiones de WordPress anteriores a la 2.7?

No. WordPress 2.7 cambió el modo en que se actualizan las opciones así que la página de opciones solo funciona en la versión 2.7 o posterior.

¿Puedo usar este plugin para mandar correos electrónicos mediante Gmail / Google Apps?

Sí. Usa estos ajustes:
Sistema: SMTP
Servidor SMTP: smtp.gmail.com
Puerto SMTP: 465
Encriptación: SSL
Identificación: Sí
Usuario: tu dirección de gmail completa
Contraseña: tu contraseña de correo electrónico

¿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:


stopped workong

my server did not support tls and the plugin tried to force it.
I moved to Easy WP SMTP plugin

Works well, but doesn’t play well with the rest of the system

This plugin didn’t accept the custom headers that the contact form of the ACADP plugin generates. ACADP support was able to tweak my installation to make their form work. Then I discovered that this plugin also wasn’t able to send bbPress forum notifications. So I switched to Easy WP SMTP, and everything worked.
That said, the smtp sender itself works well. I’m using Office 365 as my account.

Handy for successful mail delivery

As SPAM rules get tighter every year, delivering mail without being routed via a proper email account, is becoming impossible.

This plugin works really well and my only issue is the password being stored in plain text.


If you have trouble with Outlook365 sending, we got it to work after a lot of trouble. Our issue was that we had to sign into webmail with Office365.com and after that it worked!

Excellent help to configure with SMTP

Great plugin! After my web hosting decided to disable php mail() function, I was able to setup back the emails with this plugin in less than one minute! Thanks for the plugin!

Leer todas las 223 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.


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

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

¿Interesado en el desarrollo?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registro de cambios


  • 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