dannyvankooten/wp-smtp-mailer
最新稳定版本:1.1.2
Composer 安装命令:
composer require dannyvankooten/wp-smtp-mailer
包简介
A WordPress plugin that configures wp_mail to use SMTP.
关键字:
README 文档
README
This plugin will configure the default WordPress email function (wp_mail) to use PHPMailer with SMTP.
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.
统计信息
- 总下载量: 2.23k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-02-27
