這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP SMTP Config

描述

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

安裝

  1. Upload wp-smtp-config.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the SMTP details (see Description) in your wp-config.php file above the line /* That’s all, stop editing! Happy blogging. */
  4. Test your settings (Settings -> SMTP)

常見問題

Where is my SMTP settings page?

The configuration of the SMTP server credentials will be placed in your wp-config.php file only.
You can test your configuration in Settings -> SMTP Test.
If you are running a MU installation you will find this settings page for SMTP Test in your network settings.

評價

2019年8月17日
The plugin is no longer sending emails on any of my sites. The “SMTP Test” link that is supposed to appear in the Settings menu after installation does not appear. If you visit this test page by directly entering the URL in the location bar, the page just says “Sorry, you are not allowed to access this page.” The plugin has not been updated for Wordpress 5.x so I guess it isn’t working because it is no longer compatible with latest Wordpress versions.
2018年12月20日
We want to route all email traffic on multiple mulitsite networks through an SMTP server…rather than configuring many times, throwing this into the wp-config and network activating the plugin works great.
閱讀全部2個評價

貢獻者及開發者

“WP SMTP Config” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP SMTP Config 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2.0

  • Fixed bug settings page not showing for network admin
  • Added config for custom reply to address
  • Added some security validations

1.1.1

  • Fixed bug with port configuration

1.1.0

  • Added config for custom from address

1.0

  • Initial release