前言介紹
- 這款 WordPress 外掛「Mail logging – WP Mail Catcher」是 2017-12-19 上架。
- 目前有 20000 個安裝啟用數。
- 上一次更新是 2024-08-22,距離現在已有 255 天。
- 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 有 101 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
wardee |
外掛標籤
logging | email log | email logger | mail logging | email logging |
內容簡介
這個 WordPress 外掛能夠記錄你的郵件,讓你不再有遺失郵件的困擾!這個快速、輕量級的外掛(不到 140kb)也可以用於調試或備份你的訊息。
只需安裝和啟用,所有與聯繫表單相關的郵件將被記錄並保存到你的資料庫中,不需要其他設置。
通過 WordPress 的默認界面查看和管理所有的表單提交。遇到發送郵件失敗的情況?只需要點擊一次,就可以重新發送備份的郵件。
從 WordPress 介面直接發送郵件,支持附件。
立即得知你的聯繫表單提交是否成功發送。
功能
零設置 – 安裝即可使用
極簡主義 – 沒有用不到的臃腫功能,不會增加你的網站負擔 – 大小不到 140kb!
批量導出郵件到 CSV,方便在 Excel 或任何其他程式中包含
使用 WordPress 熟悉的控制面板編寫新郵件
批量重新發送郵件
調試 – 看到發送郵件的哪個檔案和代碼行,以及遇到的任何錯誤
管理使用者權限可以查看的日誌
定期清理日誌 – 或者一直保存
當發送郵件出現問題時需要通知?我們有允許你這樣做的引子
完全免費
引子和操作
wp_mail_catcher_mail_success 在成功發送和記錄郵件時觸發。它有一個參數,是一個包含日誌的數組
id 關聯 mail_catcher_logs MySQL 資料表中的 id
time 相對、易讀的日誌存留時間
email_to 郵件發給的電子信箱
subject 郵件主題
message 郵件內容
status 表示郵件是否成功發送的整數(1 = 發送成功、0 = 發送失敗)
error 發生的錯誤 – 如果有的話
backtrace_segment 顯示初始觸發郵件的檔案及行號的 json 編碼對象
attachments 發送的任何附件列表
additional_headers 發送的任何標頭列表
attachment_file_paths 發送附件的位置列表
timestamp 郵件發送的 Unix 時間戳記
is_html 如果郵件是 HTML 郵件,則為 true;如果不是則為 false 的布林值
email_from 郵件的寄件者
wp_mail_catcher_mail_failed 在郵件發送失敗並成功記錄時觸發。它有一個參數,是一個包含日誌的數組(和 wp_mail_catcher_mail_success 的參數一樣)
wp_mail_catcher_deletion_intervals 是一個過濾器,應該返回一個數組,其中每個鍵是時間量(以秒為單位),值是標籤。用於確定郵件何時過期並應該被刪除
原文外掛簡介
Logging your mail will stop you from ever losing your emails again! This fast, lightweight plugin (under 140kb in size!) is also useful for debugging or backing up your messages.
Just install and activate then all of your contact form emails will be logged and saved to your DB with no additional configuration required.
View and manage all your form submissions through the default WordPress interface. An email failed to send? With a single click you can resend the backed up email.
Send emails out directly from the WordPress interface. Also includes support for attachments.
Immediately find out if your contact form submission was successfully sent.
Features
Zero setup required – just install and away you go
Minimalistic – no overbloated features you never use weighing your site down – under 140kb in size!
Bulk export emails to CSV for easy inclusion into Excel or any other program
Compose new emails with the WordPress controls you’re already familiar with
Resend your emails in bulk
Debugging – see exactly which file and code line was responsible for sending the email, along with any errors encountered
Manage what user permissions can see the logs
Routinely have your logs cleared out at a specified time – or keep them forever
Need to be notified when there’s a problem sending your mail? We’ve got hooks that allow you to do just that
Completely free
Hooks and actions
wp_mail_catcher_mail_success is triggered when a message is sent and logged successfully. It has a single argument that is an array containing the log
id related to the id in the mail_catcher_logs MySQL table
time relative, readable time to when the log was saved
email_to the email address(es) that the message was sent to
subject the subject line of the message
message the contents of the message
status an integer depicting if the message was sent successfully or not (1 = sent successfully. 0 = sending failed)
error the error that occurred – if any
backtrace_segment a json_encoded object that shows which file and line the mail was initially triggered from
attachments a list of any attachments that were sent along with the email
additional_headers a list of any headers that were sent
attachment_file_paths a list of the location of any attachments that were sent
timestamp a unix timestamp of when the email was sent
is_html a boolean, that will be true if the message is a html email and false if not
email_from the from value of the email
wp_mail_catcher_mail_failed is triggered when a message failed to send and logged successfully. It has a single argument that is an array containing the log (same as the arguments for wp_mail_catcher_mail_success)
wp_mail_catcher_deletion_intervals is a filter that should return an array where each key is an amount of time in seconds, and the value is the label. Used to determine when a message has expired and should be deleted
wp_mail_catcher_before_success_log_save is a filter that is called just before a successful log is saved. It has a single argument that is the transformed log that will be saved – use this to alter the log before it’s saved. Returning false will stop the log from being saved. Also note that this is fired even when an email has errored, because all logs are initially saved as “successful” before being possibly updated with an error (if applicable). This is because of the way the wp_mail and wp_mail_failed are implemented in WordPress.
time a unix timestamp of when the email was sent
email_to the email address(es) that the message was sent to
subject the subject line of the message
message the contents of the message
backtrace_segment an array that shows which file and line the mail was initially triggered from
wp_mail_catcher_before_error_log_save
time a unix timestamp of when the email was sent
email_to the email address(es) that the message was sent to
subject the subject line of the message
message the contents of the message
backtrace_segment an array that shows which file and line the mail was initially triggered from
error the error that occurred
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Mail logging – WP Mail Catcher」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.1.0 | 1.2.0 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 1.3.5 | 1.3.6 | 1.3.7 | 1.3.8 | 1.3.9 | 1.4.0 | 1.4.1 | 1.5.0 | 1.5.1 | 1.5.2 | 1.5.3 | 1.5.4 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | 2.1.0 | 2.1.1 | 2.1.2 | 2.1.3 | 2.1.4 | 2.1.5 | 2.1.6 | 2.1.7 | 2.1.8 | 2.1.9 | trunk | 1.3.10 | 2.1.10 |
延伸相關外掛(你可能也想知道)
Check & Log Email – Easy Email Testing & Mail logging 》需要一個工具,讓你可以輕鬆地記錄和查看 WordPress 發送的所有電子郵件嗎? Check & Log 可能就是此問題的解決方案。, 此 WordPress 外掛可幫助你為審計目的...。
WordPress Sentry 》此外掛可選擇性地報告 PHP 錯誤和 JavaScript 錯誤至 Sentry,同時與其發布追蹤整合。, 它會自動偵測已驗證的使用者並在可能的情況下加入內容。所有內容/標籤...。
WP-Cron Status Checker 》如果 WP-Cron 停止運作,會發生什麼事情?, WordPress、佈景主題和外掛都不會知道是否有新版本推出。您可能每天登錄您的網站數月,但從不會看到任何有關更新...。
Log Emails 》將電子郵件記錄到 WordPress 資料庫以供日後分析。只有管理員能夠使用,帶有 WordPress 密碼的電子郵件經過模糊化,以確保安全性/私隱。 應用於診斷遺失的電...。
DecaLog 》捕捉和記錄網站上的事件、指標和追蹤。讓 WordPress 可見化 - 終於!, 作為 WordPress 的觀察標準堆棧,DecaLog 為 WordPress 核心、PHP、數據庫、插件和主題...。
WordPress Error Monitoring by Bugsnag 》Bugsnag 是一個 WordPress 外掛程式,可以自動偵測你的 WordPress 網站上的錯誤和當機問題,並透過電子郵件、聊天或工單系統通知你。, 所有的網站都有可能會...。
Log Deprecated Notices 》此外掛會記錄使用到已被棄用的檔案、函式和函式參數。它也能夠辨別被使用到的棄用功能並且會提供可用的替代方法。, 這是專為開發人員所設計的外掛程式。雖然 ...。
Plainview Activity Monitor 》Activity Monitor 追蹤您的部落格或網路中所有使用者的活動。您可以在全域資料表中查看整個網路中的活動,或者僅在您目前檢視的部落格中本地檢視這些活動。您...。
Trunc Logging – Auditing syslog for WordPress 》The Trunc Logging plugin gives you visibility to all the activity inside WordPress. Logins, logouts, failed logins, new posts, new, plugins, etc. E...。
wp2syslog 》使用 wp2syslog 的最終用戶可以獲益:, , 核心事件的日誌記錄有助於跟踪日常業務,特別是對於多用戶博客。, 核心事件的日誌記錄可以提高對威脅和問題(例如濫...。
Spark GF Failed Submissions 》, 此外掛需要 Gravity Forms。, , 曾經想過有多少人填寫您的表單時,當他們按下提交鍵時卻遇到錯誤的情況嗎?想要在失敗率陡增時獲得通知嗎?, 這正是我們建...。
IP Informant Logger 》以下是對 WordPress 外掛 IP Informant Logger 的介紹摘要:, , - IP Informant Logger 是一個 WordPress 外掛,用於記錄並顯示訪問者的 IP 位址。這工具對於...。
Issues Tracker 》使用這個外掛可以方便地查看和搜尋 WordPress 的 Log,並且藉由建議來提升網站的安全性。此外,也可以追蹤網站的 404 錯誤和修改伺服器設定。, 我們設計這個 ...。
WordPress Logging Service 》這個外掛提供了一個簡單的 API,用於存儲雜項日誌條目和管理區域中它們的概述(如果在多站點上啟用,則是網路管理區域)。, 為私人使用而開發(被我的其他插...。
Stream to Slack 》Stream 是一個 WordPress 外掛,可在 WordPress 資料庫中記錄您的網站活動。此外掛還允許您將這些記錄傳送到Slack。, 這個外掛的概念參考了 @Japh 的 Stream ...。