Simple SMTP Mailer

plugin banner

Simplifies configuring WordPress to use SMTP instead of the PHP mail() function

Author:Josh Mckibbin (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:6.8
Plugin version:1.1.0
Added to WordPress repository:18-08-2022
Last updated:28-04-2025
Rating, %:0
Rated by:0
Plugin URI:https://kibb.in/ssmtp
Total downloads:1 985
Active installs:20+
plugin download
Click to start download

The Simple SMTP Mailer plugin allows you to easily configure WordPress to use SMTP instead of the PHP mail function.

This should only really be used in a development environment.

Simple SMTP Mailer Settings

  • Host: The mail server (Defaults to smtp.gmail.com)
  • Username: The username used for connecting to the SMTP server
  • Password: The password used for connecting to the SMTP server
  • Port: The port to use when sending an email (587, 465 or 25. Defaults to 587)
  • Security: The type of encryption security to use when sending an email (TLS or SSL. Defaults to TLS)
  • Debug: Enable debugging

All settings can be overridden by assigning array values to the SSMTP_MAILER constant in wp-config.php. This is useful for automating local deployment.

define(
    'SSMTP_MAILER',
    array(
        'host' => emailhost.com,
        'username' => username,
        'password' => password,
        'port' => 25,
        'security' => 'SSL'
    )
);

Screenshots
FAQ
ChangeLog