Simple SMTP Mailer

描述

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'
    )
);

屏幕截图

  • Simple SMTP Mailer Settings

常见问题

Can I send email via SMTP using this plugin?

Yes

Does this plugin work with Gmail SMTP?

Yes

评价

此插件暂无评价。

贡献者及开发者

「Simple SMTP Mailer」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.1.0

  • Added the ability to manually override plugin options by defining the ‘SSMTP_MAILER’ constant
  • Changed PHP requirement to 8.0
  • The SMTP password is now saved as a salted hash
  • Errors now get added to PHP error log when debug option is enabled
  • Some minor code refactoring

1.0.5

  • Compatibility with WordPress 6.3

1.0.4

  • Added a debug function

1.0.3

  • Compatibility with WordPress 6.1.1

1.0.2

  • Replaced all PHP short Tags

1.0.1

  • text-domain fix
  • Changed permissions from administrator to manage_options
  • Added options page link on plugins page
  • Updated the description

1.0.0

  • Initial commit