~dvko/wp-smtp-mailer

A WordPress plugin that configures wp_mail to use SMTP
license = gpl 3.0 or later
15e78f71 — Danny van Kooten 9 months ago
1.1.2
ae935995 — Danny van Kooten 9 months ago
bump version to 1.1.1

clone

read-only
https://git.sr.ht/~dvko/wp-smtp-mailer
read/write
git@git.sr.ht:~dvko/wp-smtp-mailer

You can also use your local clone with git send-email.

#WP SMTP Mailer

This plugin will configure the default WordPress email function (wp_mail) to use PHPMailer with SMTP.

Build Status Stable Version License Code Climate Test Coverage

#Usage

Define all of the following constants in your /wp-config.php file. If either one of these constants is not defined, the plugin won't configure PHPMailer to use SMTP.

define( 'SMTP_HOST', 'smtp.gmail.com' );
define( 'SMTP_PORT', 465 );
define( 'SMTP_USER', 'your email' );
define( 'SMTP_PASSWORD', 'your password' );

That's all.

PS. I recommend using something like MailCatcher as the SMTP server in your development environments.