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

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.

`php

/* 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’, ‘noreply@example.com’); // From email address
define(‘SMTP_FROMNAME’, ‘WordPress’); // From email name
`

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

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

對開發相關資訊感興趣?

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