[WordPress] 外掛分享: Magic API Email

首頁 › 外掛目錄 › Magic API Email
WordPress 外掛 Magic API Email 的封面圖片
60+
安裝啟用
★★★★★
5/5 分(1 則評價)
16 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 8.0+ v1.2.3 上架:2026-03-19

內容簡介

Magic API Email 將 WordPress 預設的電子郵件系統 (wp_mail()) 替換為直接連接到您選擇的交易電子郵件提供者的 API。無需 SMTP 配置,只需粘貼您的 API 金鑰即可開始使用。

【主要功能】
• 每個提供者的獨立設置
• 完整支援 wp_mail() 功能
• 自動重試失敗的電子郵件
• 背景發送電子郵件
• 日誌與統計記錄
• 測試電子郵件功能

外掛標籤

開發者團隊

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

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

原文外掛簡介

Magic API Email replaces the default WordPress email system (wp_mail()) with a direct API connection to your chosen transactional email provider. No SMTP configuration needed — just paste your API key and you’re ready to go.
Supported Providers:

Resend — Modern email API for developers
Mailgun — Reliable transactional email
Postmark — Fast, deliverable transactional email
Mailtrap — Email delivery platform with sandbox testing
Plunk — Email API for developers

Features:

Per-provider settings — API key, From Email, and From Name are stored independently for each provider. Switching providers never overwrites another provider’s credentials.
Full wp_mail() support — attachments, Cc, Bcc, Reply-To, custom headers, and HTML bodies are all passed through to your provider.
Fallback providers — if the selected provider fails, optionally try every other provider you have credentials for.
Automatic retries — timeouts, rate limits and provider outages can be re-queued instead of losing the email.
Background sending — optionally queue email so no page load waits for an API call.
Logs and statistics — every attempt is recorded, with a retention window, a one-click purge, and full support for WordPress’s privacy export/erase tools.
Test email — Send a test email directly from the settings page to verify your configuration.
Secure — All inputs are sanitized and validated. API keys can live in wp-config.php instead of the database and are never printed back into the page.
Lightweight — No dependencies, no bloat, no build step.
Developer-friendly — Falls back to default wp_mail() if no API key is configured, and still fires the wp_mail filter and wp_mail_failed action.

External services
This plugin acts as a bridge between your WordPress site and your chosen transactional email provider. By design, instead of sending emails via standard wp_mail(), this plugin sends the content of your outgoing emails via an HTTPS API request to the provider you select in the settings.
Depending on your configuration, the plugin connects to one of the following APIs:
* Resend (api.resend.com) – Terms of Service | Privacy Policy
* Mailgun (api.mailgun.net) – Terms of Service | Privacy Policy
* Postmark (api.postmarkapp.com) – Terms of Service | Privacy Policy
* Mailtrap (api.mailtrap.io) – Terms of Service | Privacy Policy
* Plunk (api.useplunk.com) – Terms of Service | Privacy Policy
What data is sent and when?
When any plugin or WordPress core feature attempts to send an email (e.g. password resets, contact form submissions, order confirmations), the data (including the recipient’s email address, sender information, email subject, and email body content) is transmitted securely to your configured provider in order to deliver the email. No data is sent if you have not configured an API key for a provider.

延伸相關外掛

文章
Filter
Mastodon