
內容簡介
WP Mail Logger 是一款外掛,允許您記錄 WordPress 網站內的每個郵件。
您可以使用此外掛程式來識別發送電子郵件時出現的錯誤或故障。
這款外掛程式非常適合想要確保客戶收到正確郵件的人使用!
功能
記錄 WordPress 網站內的每個郵件
瀏覽過濾所有郵件的概覽
重發電子郵件(例如,如果電子郵件未能發送)
郵件錯誤/除錯記錄(需要啟用 WP_DEBUG_LOG)
設置自定 SMTP 連接
用法
每當 wp_mail 函式在您的 WordPress 網站內呼叫時,都會觸發一個過濾器,最近發送的電子郵件將被捕獲。這適用於從網站發出的每個發送郵件,以及從網站接收的每封郵件。
一個範例的 wp_mail 函式可能看起來像這樣:
php
wp_mail(get_option('admin_email'), '這是一個範例主旨', '<h1>這是一個測試</h1><p>這只是一封測試郵件,用於檢查一切是否正常運作</p>', 'Content-Type:text/html', []);
如果您有任何問題、回饋或其他問題,請通過WPMail與我們聯繫。
外掛標籤
開發者團隊
原文外掛簡介
The WP Mail Logger is a plugin that allows you to log every mail inside your WordPress website.
You can use this plugin to identify mistakes or failures when an email is sent.
This plugin is ideal when you want to make sure that your clients get the right mail!
Features
Log every mail within your WordPress website
Overview to filter all mails
Resend mails (For example if a mail fails to be sent)
Mail error/debug logging (need to enable WP_DEBUG_LOG)
Setup a custom SMTP connection
Usage
Everytime the wp_mail function gets called inside your WordPress website it will trigger a filter where the recently sent email will get caught. This works inside for every outgoing mail from the website and every incoming mail from the website.
An example wp_mail function could look like this:
php
wp_mail(get_option('admin_email'), 'This is a sample subject', '
This is a test
This is just a test mail to see if everything is working OK
', 'Content-Type:text/html', []);
For questions, feedback or other issues please contact us at WPMail
