WordPress Mail SMTP Authentication example

WordPress Mail SMTP Authentication example

WP Mail SMTP plugin

This plugin reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page that allows you to specify various options.
You can set the following options:

Specify the from name and email address for outgoing email.
Choose to send mail by SMTP or PHP's mail() function.
Specify an SMTP host (defaults to localhost).
Specify an SMTP port (defaults to 25).
Choose SSL / TLS encryption (not the same as STARTTLS).
Choose to use SMTP authentication or not (defaults to not).
Specify an SMTP username and password.


Download the plugin from wordpress.org

Upload to your /wp-contents/plugins/ directory.

Activate the plugin through the 'Plugins' menu in WordPress.


  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Problem with System.Timers.Timer not firing

Problem with System.Timers.Timer not firing in a Windows service Microsoft currently recommends...

How to Send Email from a PHP Script Using SMTP Authentication

  PHP mail() and SMTP Authentication   Part of what makes the PHP mail() function is so simple...

This article provides a code sample on using CDOSYS and SMTP authentication

========begin code sample======== Dim ObjSendMailSet ObjSendMail = CreateObject("CDO.Message")...

Use CDOSYS to send email from a stored procedure using SMTP Authentication

  Using cdosys from a stored procedure slightly and it is sending out email correctly....

Perl Script dumps raw html instead of rendering properly in google chrome

If you are seeing this behavior (e.g. with awstats.pl or other perl scripts) the following print...