plugin-icon

WP SMTP Config

作者 pCoLaSD·
Configure an external SMTP server in your config file.
評價
3
版本
1.2.0
活躍安裝總數
200
最近更新:
Nov 12, 2018

This plugin configures WordPress and WordPress MU to use a SMTP server when sending emails instead of the default PHP mail() function.

You will configure your SMTP settings in your wp-config.php file instead of the settings page. The advantage is that no admin of your blog can read the settings. And you only have to place your settings once in cases of a WordPress MU installation.

A sample configuration:

/** * WordPress SMTP server */ define('WP_SMTP_HOST', 'mail.example.com'); define('WP_SMTP_PORT', 25); // obligatory - default: 25 define('WP_SMTP_ENCRYPTION', 'tls'); // obligatory ('tls' or 'ssl') - default: no encryption define('WP_SMTP_USER', 'username'); // obligatory - default: no user define('WP_SMTP_PASSWORD', 'password'); // obligatory - default: no password define('WP_SMTP_FROM', 'John Doe <john.doe@example.com>'); // obligatory - default: no custom from address define('WP_SMTP_REPLYTO', 'Jane Doe <jane.doe@example.com>'); // obligatory - default: no custom reply to address
目前已測試版本
WordPress 4.9.29
此外掛程式已可供下載,並可用於你 系統。