[WordPress] 外掛分享: Mailkeep

首頁 › 外掛目錄 › Mailkeep
WordPress 外掛 Mailkeep 的封面圖片
全新外掛
安裝啟用
—
尚無評分
19 天前
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-09-25

內容簡介

Mailkeep 是一款輕量級的日誌工具,專為記錄 WordPress 網站的外發郵件而設計。無論是密碼重設、訂單通知還是聯絡表單提交,Mailkeep 都能將這些郵件記錄到專用的資料庫表中,幫助使用者輕鬆查詢郵件發送狀態及內容。

【主要功能】
• 完整郵件捕捉:記錄收件人、主題、標頭、郵件內容等
• 敏感鏈接隱藏:預設啟用,保護敏感資訊
• 搜尋功能:可依收件人或主題搜尋日誌郵件
• 內容預覽:可在不離開日誌列表的情況下查看完整郵件
• 自動清理:每日自動移除過期日誌
• 全球開關:可隨時暫停日誌記錄

外掛標籤

開發者團隊

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

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

原文外掛簡介

Mailkeep is a lightweight logging tool for one of the most invisible parts of a WordPress site: outgoing email. Every time WordPress, a plugin or a theme calls wp_mail() — a password reset, a new-order notification, a contact form submission, an admin alert — Mailkeep records it to a dedicated database table, independent of whatever SMTP or mail-sending service actually delivers it.
This makes it easy to answer questions that are otherwise hard to check: Did that notification actually get sent? What did the email say? Who received it, and when? You don’t need to reproduce the problem or dig through server mail logs — the answer is in your dashboard.
Because it hooks into wp_mail() itself rather than any particular plugin, Mailkeep works the same way regardless of what generates the email — core, WooCommerce, a contact form, a membership plugin, or custom code.
How it works

Every outgoing email is written to its own table (wp_mailkeep_logs), recording the recipient, subject, message body, headers, attachments list and content type.
The Mails admin screen lists every logged email with search, pagination and a modal preview of the full content.
A background daily task removes logs older than your configured retention period, so the table doesn’t grow forever.
Logging can be paused at any time from Settings without deactivating the plugin.

Built-in privacy protections
Mail bodies routinely contain sensitive one-click links — password resets, order-pay links, login tokens. Storing those in plain text would turn the log table into a security liability. Mailkeep redacts known sensitive query parameters (key, token, password, otp, order_key, and more, filterable via mailkeep_sensitive_keys) before anything is written to the database, and this is on by default.
If you’d rather not store message content at all, you can disable body logging entirely and keep only the recipient, subject and timestamp. Mailkeep also registers with WordPress’s built-in personal data export and erasure tools, so logged mail is included when you process a privacy request.
Features

Full email capture — recipient, subject, headers, message body, attachments and content type.
Sensitive link redaction — enabled by default; configurable via a settings toggle and a filter.
Search — find logged mail by recipient or subject.
Content preview — view the full rendered email in a modal, without leaving the log list.
Auto-cleanup — a daily scheduled task removes logs past your chosen retention window.
Global on/off switch — pause logging without deactivating the plugin.
Privacy-request ready — integrates with wp_privacy_personal_data_exporters / erasers.
Multisite aware — network activation provisions the log table on every site, and sites created later get it automatically.
Clean removal — deleting the plugin removes its table and settings; deactivating it does not.

延伸相關外掛

文章
Filter
Mastodon