Linux 软件免费装
Banner图

SendForce Mail SMTP Relay - SMTP and Email API

开发者 shiponkarmakar
更新时间 2026年10月28日 19:51
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

email gmail smtp outlook email log

下载

1.0.22 1.0.11 1.0.12 1.1.3 1.0.36 1.0.7 1.0.8 1.0.9 1.0.15 1.0.17 1.0.18 1.0.19 1.0.20 1.0.13 1.0.21 1.0.27 1.0.28 1.0.29 1.0.35 1.0.39 1.2.0 1.0.23 1.0.26 1.0.34 1.0.5 1.0.38 1.0.37 1.0.40 1.0.10 1.0.16 1.0.31 1.0.33 1.0.6 1.1.0 1.1.1 1.0.14 1.0.24 1.1.2 1.0.25 1.0.30 1.0.32

详情介绍:

SendForce Mail Relay is a free, open-source WordPress SMTP and email-API plugin that fixes the "WordPress emails not being delivered" problem. Send WooCommerce order emails, Contact Form 7 / WPForms / Gravity Forms submissions, password resets, registration confirmations, and any other wp_mail() traffic through Amazon SES, SendGrid, Mailgun, Brevo (Sendinblue), Postmark, Zoho ZeptoMail, Gmail API, Microsoft 365, or any standard SMTP server — with full email logging, queue, retry, and failure alerts. Try the live demo Launch a full WordPress site with SendForce Mail Relay already set up — no install, nothing to sign up for. It runs in your browser on WordPress Playground, preloaded with two example connections, a Smart Routing rule and a week of email history. Simulation Mode is on, so no email is ever sent. https://playground.wordpress.net/?blueprint-url=https://wordpress.org/plugins/wp-json/plugins/v1/plugin/sendforce-mail-relay/blueprint.json Video overview https://youtu.be/dUv4HolX5dk Why SendForce Mail Relay Supported email providers HTTP API sending (recommended — faster and more reliable than SMTP): SMTP sending (works with any provider, including custom servers): Features Works with all major WordPress plugins SendForce Mail Relay hooks into WordPress's core wp_mail() function, so it works with every plugin that sends email — including WooCommerce, Easy Digital Downloads, Contact Form 7, WPForms, Gravity Forms, Ninja Forms, Fluent Forms, Forminator, MemberPress, LearnDash, BuddyPress, bbPress, MailPoet (transactional), and any custom plugin or theme that uses wp_mail().

安装:

  1. Upload the sendforce-mail-relay folder to the /wp-content/plugins/ directory, or install directly through the WordPress plugin installer.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to SendForce Mail Relay > Settings to configure your SMTP server or API credentials.
  4. Select your email provider from the provider grid.
  5. Enter your credentials and click Save Settings.
  6. Go to SendForce Mail Relay > Email Test and send a test email to verify your configuration.

屏幕截图:

  • Settings page with visual provider grid and SMTP/API tab switcher.
  • Email Log with status filters, keyword search, and date range filtering.
  • Email Test page with live SMTP debug log output.
  • Email Queue management with retry statistics.

升级注意事项:

1.2.0 Important for Microsoft 365 and Zoho ZeptoMail users: attachments were accepted and then left out of the sent email. This release fixes that. New installs also get a Setup screen. Your existing settings are unchanged. 1.1.3 Adds one-click import from WP Mail SMTP, FluentSMTP and Easy WP SMTP. Your existing SendForce settings are not changed. 1.1.2 Adds full WordPress Multisite support, and API connections now keep the From address set by plugins like WooCommerce. If your provider only accepts specific verified addresses, set one in Settings → Sender Identity before updating. 1.1.0 Recommended if you use the Email Queue: fixes API connections bypassing the queue and possible duplicate sends, and adds per-connection "Max emails per minute" pacing. While enabled, the queue now runs every minute. 1.0.40 WordPress.org compliance and hardening release. Updating from 1.0.36 or earlier? This also includes 1.0.37's credential hardening: saved SMTP passwords and API keys now survive security-key/salt changes. 1.0.30 Two Email Log enhancements: filter by connection (audit one provider at a time) and a one-click "Copy diagnostic snapshot" button on log detail (bundles all the info needed for a support ticket into one clipboard blob). Schema migration adds a provider column to the log table — applied automatically on update. 1.0.29 Fixes (1) stray gray "pill" elements rendering on the What's New tab — a layout glitch introduced in 1.0.28 where literal <tag> text inside changelog bullets was interpreted as real HTML — and (2) the WordPress 6.7+ "Translation loading triggered too early" notice caused by translating the cron schedule's display label. Recommended upgrade for all 1.0.28 users. 1.0.28 UX polish release. Test send shows full provider response inline (with Copy button). HTTPS warning on webhook URL fields. "Welcome" admin notice after update points to the What's New tab. Failure-alert rate limiting (5-min default window per channel) prevents flood pings during burst failures. Plus a new CHANGELOG.md with the complete full-detail release history. 1.0.27 Small security + privacy release. Adds manage_options capability checks to log bulk-delete and queue retry/delete actions (defense-in-depth). Email Log now stores only attachment filenames instead of full filesystem paths to prevent server-layout leakage. No breaking changes. 1.0.26 Attachments and multipart_text now work in API mode for all 18 supported providers — 1.0.25 covered SES and Gmail, this release adds the remaining 16. Email Queue now records real provider error messages on failed sends (was a generic message), gets a "Process Queue Now" button, and test sends correctly bypass the queue. Plus a new "What's New" admin tab combining the roadmap with a collapsible release-history accordion. No breaking changes. 1.0.25 Adds attachment support for Amazon SES API mode (previously dropped silently — affected WooCommerce PDF invoices and any plugin-attached files). Also enables the "Multi-Part Plain Text" setting for SES and Gmail API modes (deliverability improvement) and adds RFC 2047 encoding for non-ASCII subjects and sender names. Recommended upgrade if you use SES API mode or send email in non-English languages. 1.0.24 Critical OAuth fix. Resolves the persistent AADSTS50011 / redirect URI mismatch error when connecting Microsoft 365 or Gmail — the authorize URL was being built without URL-encoding the redirect_uri value, so Microsoft / Google saw it truncated at the first &. Strongly recommended upgrade if you use OAuth providers. Also: "Connect with provider" now opens in a popup window so you don't lose your settings page (falls back to full-page redirect when popups are blocked). 1.0.23 Fixes intermittent Microsoft 365 / Gmail OAuth AADSTS50011 redirect URI mismatch errors caused by third-party security/caching plugins filtering admin_url. Also: Email Log "Next run" timestamp respects your site's date/time format, and the channel-logo SVG attribute whitelist is hardened. Recommended upgrade if you use OAuth (Gmail or M365). 1.0.21 Email Log gets a "Clean Now" button and an at-a-glance auto-clean status row. Routed emails now show the matching rule in the log. Routing rules pointing at deleted connections now show a warning. Real brand logos for Slack/Discord/Teams/Telegram/Google Chat/Pushover/Webhook on the Alerts tab. Fixes a rare race where saving the Summary Email form could wipe alert channels. 1.0.20 Fixes admin top-bar layout issues at narrow widths — overlap with the WP admin bar, oversized top gap, and horizontal scroll on mid-size screens. 1.0.19 Adds Smart Routing Rules — route emails through different connections based on recipient, source plugin (WooCommerce / Contact Form 7 / WPForms / etc.), subject, time, and more. Existing setups keep working unchanged. 1.0.18 Fixes a false-positive "Connected" indicator on the OAuth panel for Gmail / Microsoft 365 connections. 1.0.17 Minor data-consistency fix on top of v1.0.16's OAuth release. Safe upgrade. 1.0.16 Major UX upgrade for Gmail and Microsoft 365: one-click "Connect with provider" OAuth buttons replace the manual refresh-token workflow. Existing setups keep working. 1.0.15 Provider audit + Moosend HTML rendering fix. Recommended for everyone, especially Moosend users. 1.0.14 Reliability fix for the Email Queue: rows orphaned in "processing" status by a crashed cron run are now auto-recovered on the next run. Recommended for everyone using the queue. 1.0.13 Security release: hardens the PHP-mail and SMTP fallback paths against header-injection and path-traversal attacks from malicious upstream wp_mail filters. Sanitizes the fallback-connection label on read. 1.0.12 Renames "Default Connection" to "Primary Connection" in the admin UI. Fixes the fallback flow so wp_mail() returns true when the fallback succeeds, with a clear test-email message naming both connections. Provider status dot is now green/red based on configuration. 1.0.11 Cleans up how the plugin appears on the WordPress admin Plugins page. The big bold title and description column are no longer cluttered with the long SEO string. 1.0.10 Activates two previously-orphaned settings (Developer Debug, Max Retry Attempts) by adding their UI controls. Replaces every native with a fully-styled brand-coloured dropdown component. Hardens form validation. 1.0.9 Refined the WordPress.org listing title to surface "SMTP" inside the brand for better directory search visibility. No code-level changes; in-product branding is unchanged. 1.0.8 Adds real automatic fallback connection logic — when your primary mail send fails, SendForce retries via the fallback connection automatically. Works across any combination of SMTP and API providers. 1.0.7 and earlier Initial release through 1.0.7: core SMTP and email-API sending, additional providers (SendLayer, Mailjet, MailerSend, Mandrill, Resend), Microsoft 365 and Gmail API support, WP-CLI commands, developer hooks, log export, and External Services documentation. See CHANGELOG.md for the full detail.

常见问题:

Do I need an SMTP server or API account?

Yes. You need access to an SMTP server or a transactional email provider account. Most providers (Gmail, Outlook, etc.) offer SMTP access. Transactional services like SendGrid, Mailgun, or Amazon SES offer both SMTP and HTTP API access.

Is my SMTP password or API key stored securely?

Yes. All credentials are encrypted using AES-256-CBC encryption before being stored in the database. The encryption key is a dedicated random secret generated once for your site, so regenerating your WordPress security keys/salts (via a security plugin, host migration or site clone) no longer invalidates your saved passwords.

What does the email queue do?

When enabled, emails are stored in a database queue instead of being sent immediately. A WP-Cron job processes the queue every minute, sending emails in batches; each run stops after about 20 seconds so it stays within typical host PHP time limits. You can also set a "Max emails per minute" on each connection to pace sending for providers with strict rate limits, such as the Gmail API. Failed emails are retried with exponential backoff (5 min → 15 min → 45 min). Tip: WP-Cron only runs when your site receives visits, so on low-traffic sites the queue can lag. For reliable timing, disable WP-Cron and trigger it from a real server cron job every minute.

Will SendForce Mail Relay send ALL WordPress emails including WooCommerce?

Yes. SendForce Mail Relay hooks into WordPress's phpmailer_init action (SMTP mode) or pre_wp_mail filter (API mode). Since every plugin — including WooCommerce, contact form plugins, and membership plugins — sends email via WordPress's wp_mail() function, SendForce Mail Relay will handle all of your outgoing emails.

Will this plugin conflict with other SMTP plugins?

You should only use one SMTP plugin at a time. Please deactivate any other SMTP or email plugins (FluentSMTP, WP Mail SMTP, etc.) before activating SendForce Mail Relay.

What data is logged?

By default, SendForce Mail Relay logs: recipient email, subject, headers, status (sent/failed), error message if any, and timestamp. Email body logging is optional and can be disabled in Settings > Queue & Logging for privacy compliance.

What happens to my data when I uninstall the plugin?

All plugin data (database tables, settings, and scheduled events) is completely removed when you delete the plugin through the WordPress admin. On a Multisite network, this happens on every site.

Which From address do my emails use?

If you set a From email in Settings → Sender Identity, every email uses it, on every connection and every Smart Routing rule. If you leave it empty, each email keeps the From address the sending plugin chose (for example WooCommerce's store address); emails that don't set one use your site's admin email. Smart Routing never changes the From — it only picks which connection sends. Gmail and Microsoft 365 API connections always send as the connected account. Your email provider must accept the From you use: most only allow addresses on domains you've verified with them.

Can I import my settings from WP Mail SMTP, FluentSMTP or Easy WP SMTP?

Yes. While the other plugin is still active, click Import settings — in the notice SendForce shows, or any time under SendForce → Settings → Import from another plugin (still there after you dismiss the notice). There is also a WP-CLI command, wp sendforce import run <source>, which is handy for staging sites and bulk work. On Multisite you import per site, and if WP Mail SMTP or Easy WP SMTP is set to one network-wide configuration, only a network administrator can import it. It previews exactly what will come across, then adds the connections (credentials re-encrypted with SendForce's own key), sender identity and fallback; FluentSMTP's per-sender routing becomes Smart Routing rules. Nothing already in SendForce is overwritten, and importing twice doesn't create duplicates. Gmail and Microsoft 365 API connections need one extra step: click Connect in SendForce to sign in again (Gmail or Outlook over SMTP with an app password imports as-is). If you used Easy WP SMTP's One-Click Setup, there are no app credentials saved on your site to copy, so SendForce asks you to create your own Google or Microsoft app. Credentials you keep in wp-config.php are not copied into the database — you'll be asked to enter them. Send a test email from SendForce, then deactivate the other plugin.

Does it support WP-CLI?

Yes. All commands live under wp sendforce:

  • wp sendforce test you@example.com — send a test email (optional --subject= and --message=)
  • wp sendforce queue process — process the email queue now
  • wp sendforce queue stats — show queue counts by status
  • wp sendforce queue clear --status=failed — clear queued emails (asks for confirmation)
  • wp sendforce log list --limit=50 — list recent log entries
  • wp sendforce log tail --status=failed — show the latest failures
  • wp sendforce log count — count log entries
  • wp sendforce log delete --before=2026-01-01 — delete old log entries (asks for confirmation)
  • wp sendforce import list — show which SMTP plugins can be imported from
  • wp sendforce import preview easy-wp-smtp — show what would be imported, without changing anything
  • wp sendforce import run fluent-smtp — import it (asks for confirmation; add --yes to skip)
  • wp sendforce sysinfo — print system info for support tickets
On Multisite, add --url= to choose the site. Running wp sendforce queue process from a server cron job every minute is a reliable way to process the queue without depending on site visits.

Does it work on WordPress Multisite?

Yes. Network Activate the plugin and each site sets itself up on its first visit, including sites created later. Every site is configured separately, with its own connections, sender identity, logs, queue and routing rules; there is no shared network-wide connection yet. When you delete a site, its SendForce data is removed with it. Importing from another SMTP plugin also works per site; if WP Mail SMTP is configured network-wide, only a network administrator can import those settings, since they belong to the whole network. If you use a real server cron instead of WP-Cron, make sure it runs cron for every site, not just the main site, so each site's queue and log cleanup run on time.

Is there a demo I can try before installing?

Yes. The live demo runs a real WordPress site in your browser through WordPress Playground, with SendForce already configured. It comes with two sample connections (Amazon SES and Mailgun), a Smart Routing rule and 38 logged emails, so you can explore the dashboard, logs and routing straight away. Simulation Mode is enabled, so nothing is actually sent. The demo runs the version currently published here, and nothing you do in it touches your own site.

Does this plugin track me or phone home?

No. SendForce Mail Relay does not collect any data, make any analytics calls, or communicate with any external server except when sending emails through your configured provider.

更新日志:

For the complete release history with full detail on every change, see CHANGELOG.md (also bundled with the plugin) or open the What's New tab inside SendForce in your WordPress admin. The section below is condensed to fit within WordPress.org's 5,000-word changelog limit. 1.2.0 1.1.3 1.1.2 1.1.1 1.1.0 1.0.40 1.0.39 1.0.38 1.0.37 1.0.34 1.0.33 1.0.32 1.0.31 1.0.30 1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.21 1.0.20 1.0.19 1.0.18 1.0.17 1.0.16 1.0.15 1.0.14 1.0.13 1.0.12 1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.1 1.0.0