| 开发者 | fpoller |
|---|---|
| 更新时间 | 2026年11月24日 18:17 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | MIT |
| 版权网址: | 版权信息 |
wp_mail() (WooCommerce, contact forms, membership plugins, WordPress itself) keeps working and goes through Google.
Set up in a few minutes, with a guide
A step-by-step guide takes you through it: create an OAuth client in Google Cloud (with direct links and the exact redirect URI to paste), sign in with Google, choose the sender, send a test email, and check your domain's DNS. Every step says what to click and what to do when Google shows an error.
Coming from WP Mail SMTP? The guide offers to import its settings, including a working Gmail connection, so you can skip the Google Cloud steps.
Delivery log and statistics
include:, redirect=, macros and flattened records all work. It reports missing or duplicate records, records that leave out Google (or only its IPv6 servers), more than 10 DNS lookups, and +all. Records served dynamically by a managed SPF service count as fine, with a note that they can't be fully checked.wp_mail() filter and action keeps working, including phpmailer_init, wp_mail_succeeded and wp_mail_failed.nemvo_email_sent, nemvo_email_failed and nemvo_email_paused; filter nemvo_email_log_entry.wp nemvo-email status | test | dns | log | import | purge.NEMVO_EMAIL_GOOGLE_CLIENT_ID, NEMVO_EMAIL_GOOGLE_CLIENT_SECRET, NEMVO_EMAIL_KEY, NEMVO_EMAIL_PAUSE (with _FILE variants for Docker secrets).So that your email goes from your site straight to Google, and nobody else holds a key to your mailbox. It is free and done once; the guide shows every click. A shared client run by a plugin vendor would mean a third party's server in the middle.
No. It asks Google only for the "gmail.send" permission ("Send email on your behalf"), plus your address. It can't read, change or delete messages.
Yes. Create the consent screen with the audience "External" and publish it (in "Testing" the connection stops after 7 days). Google shows an "unverified app" warning when you connect; it's your own app, so click Advanced and continue. Gmail accounts may send 500 messages a day, Google Workspace accounts 2,000.
The connected account, or any of its "Send mail as" addresses, aliases or groups it may send as. Gmail replaces any other address with the account's own. By default, senders set by plugins are replaced by yours and become the Reply-To, so a contact form reply still goes to the visitor.
When access is removed from the Google account, the password changes, or the app is still in "Testing", Google refuses the connection. Messages fail and are logged with the reason, every admin screen shows a notice, and Site Health reports it. Click "Connect again" under Email › Settings. A daily check usually notices it before a message fails.
Install Nemvo Email and open the setup guide: it offers to import WP Mail SMTP's sender settings and, if you use its Gmail mailer with your own OAuth client, the connection itself. Then deactivate WP Mail SMTP (the guide has a button). WP Mail SMTP's "One-Click Setup" uses its own app, which can't be shared, so in that case you create an OAuth client in the guide.
Not if you add define( 'NEMVO_EMAIL_PAUSE', true ); to the staging site's wp-config.php: messages are logged but not sent. Copies with different WordPress security keys can't decrypt the Google connection either.
In the WordPress options table, encrypted with XSalsa20-Poly1305 (libsodium). The key comes from the WordPress salts in wp-config.php, or from NEMVO_EMAIL_KEY if you define it. Changing the salts means connecting again.
Recipients, subject, sender, the plugin that sent the message, size, status and Gmail's message id or error, for 90 days by default (1 to 3,650). The content is only kept if you turn that on. Tools › Export and Erase Personal Data cover the log.
No. Messages go out unchanged.
Not yet: this version supports Google Workspace and Gmail. The plugin is built so other services can be added.