跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

MountDev Email Delivery for Cloudflare

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

MountDev Email Delivery for Cloudflare

由 Cascadia Web Services 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

MountDev Email Delivery for Cloudflare sends every email your WordPress site creates through Cloudflare Email Service. That covers WordPress itself, your theme and any plugin that sends mail the standard way: password resets, order emails, form notifications and help desk replies.

It connects to Cloudflare’s Email Sending API with your Account ID and an API token. There is no SMTP server, port or password to configure.

If WordPress is not sending email, or your messages land in spam, sending through a dedicated mail service from your own domain is the usual fix. This plugin does that with Cloudflare.

Features

  • Cloudflare Email Service delivery. Every message goes to Cloudflare in a single API request, with To, Cc, Bcc, Reply-To, HTML or plain text, custom headers and attachments.
  • One sender name on every email. Help desks and form plugins often send with their own sender name. Turn on “Always use this name” and every email shows the name you choose. The From address is left as the sending plugin set it, so replies still reach the right inbox.
  • Test email. Send a test from the settings screen to confirm delivery before you rely on it.
  • Email log. Every message is recorded with its recipients, subject, body, headers, status and Cloudflare’s response. Search by recipient or subject, filter by status or date, and view any message in full.
  • Resend from the log. Send a logged email again in one click. Attachments are not stored, so they are not included in a resend.
  • Log retention. Old entries are deleted automatically after 7, 14, 30, 60, 90, 180 or 365 days, or kept forever. The default is 30 days.
  • Encrypted API token. Your Cloudflare token is encrypted with AES-256 before it is saved. This uses PHP’s OpenSSL extension, which most hosts include.
  • Safe fallback. While the plugin is switched off or not yet set up, WordPress sends email the way it normally does.

Requirements

  • A Cloudflare account with your domain on Cloudflare DNS.
  • A sender domain set up for Email Sending in Cloudflare.
  • A Cloudflare API token with the Email Sending permission.

Full setup guide: https://cascadiawebservices.com/products/email-delivery-for-cloudflare

External services

This plugin connects to the Cloudflare Email Service (Cloudflare’s Email Sending REST API) to deliver your site’s outgoing email. This connection is required for the plugin to function: when enabled, the plugin replaces WordPress’ built-in mail transport and hands every outgoing message to Cloudflare for delivery. The service is provided by Cloudflare, Inc.

What data is sent, and when:

  • Data is sent only while the plugin is enabled and configured with your Cloudflare Account ID and API token. When the plugin is disabled or not yet configured, nothing is sent to Cloudflare and WordPress sends email normally.
  • A request is sent to Cloudflare each time your site sends an email. This includes email generated by WordPress core, your theme, and other plugins through the standard wp_mail() function, as well as the manual “Send Test” and “Resend” actions on the plugin’s admin screens.
  • Each request transmits the message and the information required to deliver it: the From, To, Cc, and Bcc addresses; the subject; the message body (HTML and/or plain text); any custom email headers; and any file attachments included with the message. Your Cloudflare Account ID and API token are also sent, to authenticate the request.
  • Requests are sent to Cloudflare’s API endpoint at https://api.cloudflare.com.

This plugin does not send your data to any other third party.

Cloudflare’s legal terms:

  • Terms of Use: https://www.cloudflare.com/terms/
  • Privacy Policy: https://www.cloudflare.com/privacypolicy/

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

螢幕擷圖

Settings: connect Cloudflare, set the default sender and choose how long to keep logs.
Settings: connect Cloudflare, set the default sender and choose how long to keep logs.
Send Test: confirm delivery with a test email.
Send Test: confirm delivery with a test email.
Email Log: search, filter, view and resend sent email.
Email Log: search, filter, view and resend sent email.

安裝方式

  1. In WordPress, go to Plugins, then Add New, and search for “MountDev Email Delivery for Cloudflare”. Or upload the ZIP file.
  2. Activate the plugin.
  3. Go to Settings, then Email Delivery.
  4. Enter your Cloudflare Account ID, API token and default From address, then turn on sending.
  5. Use the Send Test tab to confirm delivery.

常見問題集

Is this an SMTP plugin?

It does the same job as an SMTP plugin: it takes over WordPress email and sends it through a proper mail service. The difference is that it uses Cloudflare’s Email Sending API instead of SMTP, so there are no server, port or password settings.

Does it work with other plugins that send email?

Yes. It hooks the pre_wp_mail filter, so any email sent through the standard wp_mail() function goes through Cloudflare. That includes WooCommerce, form builders and help desk plugins.

A plugin sends email with the wrong sender name. How do I fix it?

Enter your Default From Name in the settings and leave “Always use this name, even when another plugin sets its own” checked. Every email will then use that name.

Where do I get a Cloudflare API token?

In the Cloudflare dashboard, create an API token with permission to use Email Sending for your account. Your Account ID is on the account overview page.

Is there a size limit?

Cloudflare accepts messages up to 5 MB in total, including attachments. Larger messages are not sent, and the log records why.

How long are logs kept?

30 days by default. You can choose 7, 14, 30, 60, 90, 180 or 365 days, or keep logs forever, on the Settings tab. There is also a button to run the cleanup straight away.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈MountDev Email Delivery for Cloudflare〉的開發相關工作。

參與者
  • Cascadia Web Services

將〈MountDev Email Delivery for Cloudflare〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.0.3

  • Fixed: Emails Cloudflare refused, because the address bounced before or is on your Cloudflare suppression list, were logged as sent. They are now logged as failed with the refused addresses, and WordPress is told the email was not sent. If only some recipients are refused, the email is logged as sent with a note naming them.
  • Fixed: Addresses Cloudflare lists as suppressed are now treated as not sent, the same way.
  • Changed: The Email Log shows Cloudflare’s reply in plain words, such as which addresses were delivered, queued, bounced or suppressed, with the raw reply one click away.

1.0.2

  • Changed: The advertising images beside the settings are gone. In their place are two plain WordPress boxes with text links, and the plugin is about 1 MB smaller.
  • Added: HTML emails in the Email Log now show as they looked, with a switch to see the HTML source. The preview runs no scripts, and images from other sites load only when you click Load images.

1.0.1

  • New setting: always use the Default From Name, even when another plugin (a help desk or form builder, for example) sends with its own sender name. On by default. The From email address is not changed.

1.0.0

  • Initial release: Cloudflare Email Service delivery, test email, email log with resend, and log retention.

中繼資料

  • 版本 1.0.3
  • 最後更新 11 小時前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 5.7 或更新版本
  • 已測試相容的 WordPress 版本 7.1.2
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    cloudflareemailemail logsmtptransactional email
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • Cascadia Web Services

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.