外掛說明
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.
螢幕擷圖



安裝方式
- In WordPress, go to Plugins, then Add New, and search for “MountDev Email Delivery for Cloudflare”. Or upload the ZIP file.
- Activate the plugin.
- Go to Settings, then Email Delivery.
- Enter your Cloudflare Account ID, API token and default From address, then turn on sending.
- 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_mailfilter, so any email sent through the standardwp_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.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
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.
