[WordPress] 外掛分享: SAR Friendly SMTP

首頁外掛目錄 › SAR Friendly SMTP
WordPress 外掛 SAR Friendly SMTP 的封面圖片
2,000+
安裝啟用
★★★★
4.6/5 分(46 則評價)
304 天前
最後更新
問題解決
WordPress 4.9+ PHP 7.0+ v1.2.6 上架:2015-01-18

內容簡介

WordPress 有很多 SMTP 外掛可供選擇,其中一些使用了第三方庫但運作不佳,另一些看起來幾乎相同但卻有不同的名稱……

其中大部分都會經常性地覆寫寄件者信箱和姓名項目,使其他使用 wp_mail() 函式寄信的外掛失去功能。

所以歷史重演,我找不到一個符合我的需求的簡單外掛,所以我為自己創建了一個,在這裡和你分享,希望你會覺得有用。

如果你對這個外掛感到滿意,請不要忘記給它一個好評分,這將激勵我繼續分享和改進這個外掛(和其他外掛)。

重要提示:支援請求必須使用Github 存儲庫中的 Issues 標籤創建

功能

KISS 原則。
不使用第三方庫進行 SMTP 聯繫,使用 WordPress 核心。
尊重其他外掛修改的項目(例如 Gravity Forms)。
啟用偵錯模式選項(在 PHP 的 error_log 文件中記錄 WordPress 和 SMTP 伺服器之間的通訊,詳情請參閱常見問題解答)。
使用 WordPress 設定 API 進行設定頁面,使安全性默認處於安全狀態。
為設定存取設立自定義權限,因此您可以使用User Role Editor(或任何其他類似的外掛)允許非管理員使用者存取設定頁面。
發送電子郵件測試頁面。讓您測試 WordPress 是否能夠使用所提供的 SMTP 伺服器詳細資料發送電子郵件。
可使用 wp-config.php 中的常數覆蓋設置(對於多站點安裝中設置相同設置的需求很有用)。

需求

PHP 7.0 或更高版本。
WordPress 4.9 或更高版本。
SMTP 伺服器 🙂

它可能適用於較舊版本的 PHP 和 WordPress(事實上,在撰寫這篇文章時的版本是可以),但我不提供比上述的版本更舊的任何支援。

使用方法

只需像安裝其他外掛一樣在 WordPress 中安裝、啟用,並使用您的 SMTP 伺服器詳細資料填寫設置。如果您不確定每個項目應該填寫什麼,請向您的 SMTP 伺服器支援人員詢問。

開發者

如果您想要貢獻開發此外掛來修復錯誤或提出改進意見,歡迎隨時提交一個拉取請求到此存儲庫。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SAR Friendly SMTP」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

There are A LOT of SMTP plugins for WordPress, some uses third-party libraries with no too much luck, others looks like the same plugin (almost identical source code) but with different name…
Most of them overwrites from address and from name fields ALWAYS, breaking functionality of some other plugins that send emails using wp_mail() function.
So the history repeats again, I can’t find one simple plugin that fits my needs, so I created one for myself and share it with you in the hope that you’ll find it useful.
If you’re happy with the plugin please don’t forget to give it a good rating, it will motivate me to keep sharing and improving this plugin (and others).
IMPORTANT: Support requests must be created using the Issues tab at the Github repository
Features

KISS principle.
No third-party libraries for SMTP, uses WordPress core.
Respect fields modified by other plugins (e.g. Gravity Forms).
Option to enable debug mode (logs communication between WordPress and your SMTP server in PHP’s error_log file, check FAQ for more details).
Uses WordPress settings API for settings page, making it secure by default.
Custom capability for settings access, so you can allow non administrator users to access to the settings page if you need it using User Role Editor (or any other similar plugin).
Send Email Test page. Allowing you to test if WordPress is able to send emails using the SMTP server details provided.
Constants available to override settings using wp-config.php (useful to set same settings network-wide on a multi-site installation).

Requirements

PHP 7.0 or higher.
WordPress 4.9 or higher.
SMTP server 🙂

It may work with older versions of PHP and WordPress (and it does in fact at the time of writing this), but I don’t support anything older than the versions mentioned above.
Usage
Just install in your WordPress like any other plugin, activate it and fill settings using your SMTP server details. If you’re not sure about what you need to put in each field, ask to your SMTP server support.
Developers
If you want to contribute to the development of this plugin fixing a bug or suggesting any improvement, feel free to submit a pull request to this repo.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon