內容簡介
注意:此外掛需要使用第三方 app「Ghost Inspector」(詳細資訊請見下方)。
開始使用
以下說明將會引導您在本機上建立並驗證專案複本以用於開發和測試,有關在正式系統上部署專案的注意事項,請參閱「deployment」(部署)。
先決條件
需要安裝一個運行中的 WordPress 且具有管理員帳號。
此外掛應該是跨平台的(Windows/Mac/*Nix),且不需要特定版本的 PHP。
但必須從 WordPress 載入 jQuery 和 jQueryUI,儘管這兩個應該已經被包含在所有標準安裝(即沒有很特殊的情況下被故意停用)中。
安裝
使用 WordPress 的外掛程式庫安裝即可。
或者,您可以從 GitHub 下載最新的外掛 zip 檔案:
https://github.com/PhilTanner/wppt-emailer/archive/master.zip
登入 WordPress 控制面板,進入「外掛」選單,並在頁面頂部點擊「新增外掛」。
點擊「上傳外掛」。
點擊「選擇檔案」。
選擇您剛下載的 wppt-emailer-master.zip 檔案。
點擊「立即安裝」。
執行測試
在控制面板導覽列中選擇 [Phil’s Emailer]。
輸入 SMTP 郵件設定,然後點擊「Test」按鈕。
如果成功,將在右側顯示成功訊息。否則,將希望出現一個有意義的錯誤訊息。
請注意!
此外掛在測試收件時,會透過將電子郵件發送至第三方外部服務「Ghost Inspector」(https://ghostinspector.com/)來進行測試。
Ghost Inspector 是一個非常有用的自動化測試套件,可提供測試應用程式發送電子郵件的方法。如果您想對您的網站進行任何形式的自動化測試,我建議您查看它。
發送到他們的伺服器的郵件僅包含固定文字,沒有有關您系統的詳細資訊(除了電子郵件 From: 欄中的地址)。收件端的電子郵件信箱會在一小時後被刪除,不會保留。
有關其電子郵件測試網關的更多資訊,請參閱此處的文件:
https://ghostinspector.com/docs/check-email/
授權
此專案根據 GPL3 授權許可進行授權 - 詳細資訊請參閱「LICENSE」(授權)文件。
開發者團隊
② 後台搜尋「wppt-emailer (WordPress Phil Tanner's Emailer)」→ 直接安裝(推薦)
原文外掛簡介
Note: Uses 3rd party app Ghost Inspector (for full details, see below).
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
A running copy of WordPress, with Administrator login details.
This plugin should be platform (Windows/Mac/*Nix) independent, and doesn’t require any particular versions of PHP to run.
It does request jQuery and jQueryUI to be loaded from WordPress, though these should already be bundled in all standard (i.e. non-very-specific instances where they’ve been deliberately disabled) installs.
Installing
You can install most simply by using the WordPress plugin directory.
Alternately, you can download the lastest zipped copy of the plugin from GitHub:
https://github.com/PhilTanner/wppt-emailer/archive/master.zip
Log in to your WordPress dashboard, navigate to the Plugins menu, and click [Add New] at the top of the page.
Click [Upload Plugin]
Click [Choose File]
Select the wppt-emailer-master.zip file you’ve just downloaded.
Click [Install Now]
Running the tests
Select the [Phil’s Emailer] link in the Dashboard navigation.
Enter your SMTP mail settings, and click the Test button.
If it works, you will get a success statement appear on the right. If not – hopefully a meaningful message as to why not.
Please NOTE!:
The email address receipt is tested by sending the email to a 3rd party external service, Ghost Inspector (https://ghostinspector.com/).
Ghost Inspector is a really useful automated test suite – which provides a way to test applications sending of emails. I recommend you check it out if you want to run any form of automated tests against your web sites.
The mail sent to their server contains only fixed text, with no details about your system (other than the From: address the emails are sent from). The email inbox is deleted after an hour and is not retained.
For more information about their email test gateway, you can view their documentation here:
https://ghostinspector.com/docs/check-email/
License
This project is licensed under the GPL3 License – see the LICENSE file for details
