Config Email SMTP

描述

This plugin is relying just on your wp-config.php file. It uses smtp connection details you will set up there to configure WordPress to relay all outgoing emails through that email server.

Background

There are plenty of similar type of plugins out there. Most of them are not focused on relaying emails to an SMTP server, but rather supporting specific mail services.

But the main incentive for this was the fact that the official WordPress docker image doesn’t have support for sending out emails (eg. “forgot password”).

安装

All you have to do is copy-paste the lines below at your wp-config.php and adjust the variables
with the proper values for the SMTP server you want to use.

`

/* SMTP configuration */
define(‘SMTP_HOST’, ‘mail.example.com’); // Mail server hostname
define(‘SMTP_PORT’, 25); // SMTP port number (25, 465 or 587)
define(‘SMTP_SECURE’, ‘ssl’); // Encryption system to use (ssl or tls)
define(‘SMTP_USERNAME’, ‘myusername’); // SMTP Authentication Username
define(‘SMTP_PASSWORD’, ‘mypassword’); // SMTP Authentication Password
define(‘SMTP_FROMMAIL’, ‘[email protected]’); // From email address
define(‘SMTP_FROMNAME’, ‘WordPress’); // From email name
`

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

「Config Email SMTP」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Config Email SMTP」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志