WP SMTP Config

Description

This plugin configures WordPress and WordPress MU to use a SMTP server when sending emails instead of the default PHP mail() function.

You will configure your SMTP settings in your wp-config.php file instead of the settings page.
The advantage is that no admin of your blog can read the settings.
And you only have to place your settings once in cases of a WordPress MU installation.

A sample configuration:

/**
 * WordPress SMTP server
 */
define('WP_SMTP_HOST',       'mail.example.com');
define('WP_SMTP_PORT',       25);                                // obligatory - default: 25
define('WP_SMTP_ENCRYPTION', 'tls');                             // obligatory ('tls' or 'ssl') - default: no encryption
define('WP_SMTP_USER',       'username');                        // obligatory - default: no user
define('WP_SMTP_PASSWORD',   'password');                        // obligatory - default: no password
define('WP_SMTP_FROM',       'John Doe <john.doe@example.com>'); // obligatory - default: no custom from address

FAQ

Where is my SMTP settings page?

The configuration of the SMTP server credentials will be placed in your wp-config.php file.
You can test your configuration in Settings -> SMTP.
If you ar running a MU installation you will find this settings page in your network settings.

Changelog

1.1.1

  • Fixed bug with port configuration

1.1.0

  • Added config for custom from address

1.0

  • Initial release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code