WordPress 电子邮件 SMTP 寄件插件
Is your WordPress site not sending emails? You're not alone. 3+ million websites use WP Mail SMTP to send emails reliably.
Our goal is to make email deliverability easy so that your emails always reach the inbox.
WP Mail SMTP fixes your email deliverability issues by reconfiguring WordPress to use a proper SMTP provider when sending emails.
最重要的是,我们简单易用的设置向导和详细的文档能指导您完成整个过程。
WP Mail SMTP is free and has everything you need to reliably send your WordPress emails!
WP Mail SMTP Pro unlocks even more powerful features like email logging, advanced email reporting and stats, backup connections, email alerts, smart conditional routing, and much more.
https://www.youtube.com/watch?v=QYJuPyiKKZc
什么是 SMTP?
SMTP (Simple Mail Transfer Protocol) is an industry-standard for sending emails. Proper SMTP configuration helps increase email deliverability by adding authentication to the emails sent from your site.
Popular email clients like Gmail, Yahoo, Office 365, and Zoho are in a constant battle with email spammers, so they check whether emails are originating from a genuine sender. If the proper authentication isn't there, emails either go in the SPAM folder or, worse, disappear.
This is a problem for a lot of WordPress sites. By default, WordPress uses the PHP mail function to send emails generated by WordPress or any contact form plugin like
WPForms.
But most
WordPress hosting companies don't have their servers properly configured for sending PHP emails.
This is why WordPress emails aren’t delivered.
WP Mail SMTP 如何工作?
WP Mail SMTP plugin easily resolves email delivery problems by changing the way your WordPress site sends email. We reconfigure the
wp_mail() function to use proper SMTP host credentials or an SMTP mail provider.
With our built-in SMTP mail provider integrations (recommended), emails are sent using the provider's direct API. Even if your web host is blocking SMTP ports, your emails will still be sent successfully.
This helps you fix all
WordPress not sending email issues.
WP Mail SMTP plugin includes many different SMTP mailers:
- SendLayer (#1 Recommended)
- SMTP.com (推荐)
- Brevo (formerly Sendinblue) SMTP (Recommended)
- Gmail SMTP (Gmail, Google Workspace, G Suite)
- Elastic Email
- Mailgun SMTP
- Mailjet SMTP
- SendGrid SMTP
- Postmark SMTP
- SparkPost SMTP
- SMTP2GO
- Microsoft SMTP One-Click Setup (Outlook.com and Office 365) [Pro]
- Amazon SES SMTP [Pro]
- Zoho Mail SMTP [Pro]
- 其他 SMTP
For most options, you can specify the "from name" and "email address" for outgoing emails too.
All of these powerful features make WP Mail SMTP the best SMTP solution for WordPress.
If you don't know which mailer to choose, see our
Complete Guide to WP Mail SMTP Mailers.
SendLayer
SendLayer is our #1 recommended transactional email service.
Its affordable pricing and simple setup make it the perfect choice for sending emails from WordPress. It also has open and click tracking and email logs.
SendLayer is reliable, fast, and easy to set up. You can send hundreds of emails for free when you sign up for a trial.
Read our
SendLayer documentation for more details.
SMTP.COM
SMTP.com 是我们推荐的付费电子邮件服务。
With over 22 years of email delivery expertise,
SMTP.com has a reputation for being one of the most reliable senders on the internet.
You can start sending emails in minutes and benefit from 50,000 free emails in your first 30 days.
Read our
SMTP.com documentation for more details.
Brevo (formerly Sendinblue) SMTP
Brevo is a recommended transactional email service. It serves 80,000+ companies worldwide.
Brevo is reliable, fast, and gives you 300 free emails per day.
Read our
Brevo documentation for more details.
WP Mail SMTP 专业版
In addition to native Microsoft, Amazon SES, and Zoho Mail integrations, WP Mail SMTP Pro provides access to many other powerful features.
Click here to purchase WP Mail SMTP Pro now!
Email Log
Email logging is a powerful feature that keeps a record of all sent emails in WordPress. Email logging helps you to archive, audit, resend, or test email delivery and formatting.
Our
WordPress email logs also include:
Email Log Details
Our email logs provide a complete history of all emails sent from WordPress. View the subject, sender, recipients, content, headers, open and click rates, delivery status, source plugin, and more!
Resend Emails
Resend emails individually or in bulk, whether they failed or were delivered successfully. You can also forward important emails to an alternative email address.
And many more Email Log Features
Store all email attachments, export email logs, print emails, see delivery status, and more.
Email Reports
Review weekly sent and failed emails in a dashboard chart.
Email reports make it easy to track deliverability and engagement. Open rates and click-through rates are grouped by subject line, making it easy to see the performance of your campaigns or notifications.
Weekly Email Summary
Get statistics about WordPress emails, including how many emails are being sent and which ones are being opened and clicked. The Summary also shows you deliverability statistics without the need to log in to WordPress to check them.
Track Email Opens and Clicks
View open and click stats for WordPress emails, grouped by subject line in your Email Report.
Email Alerts
If your emails stop sending, get notified instantly via Slack, Microsoft Teams, Discord, SMS/ Twilio, webhooks, or email (via secure API).
In combination with our email logging and resending features, Email Alerts ensure that no important email will ever be lost.
Backup Connection
Configure an extra connection that kicks in if your primary connection fails. WP Mail SMTP automatically detects connection issues and automatically switches to the backup mailer. It will also automatically retry emails that failed.
Smart Conditional Routing
Create criteria to send different types of emails using different mailers. Filter by the contents of the email Subject or Message, From or To addresses, the plugin that generated the email, and more.
This allows you to mix transactional and marketing providers to improve deliverability.
Rate Limiting
Control the number of emails your WordPress site sends in a specific amount of time so you stay within your SMTP provider’s rate limits.
WP Mail SMTP allows you to specify the maximum number of emails that will be sent every minute, hour, day, week, or month and automatically queues emails to stay within those limits.
Optimized Email Sending
Are emails slowing down your site? Let WP Mail SMTP queue your emails for better performance.
With optimized sending, emails are queued in the background and sent when your server has sufficient resources, avoiding bottlenecks that can slow down your site.
管理 WordPress 的电邮和通知
Control the default notifications WordPress sends. Use a simple switch to disable specific types of notifications if you don’t want to receive them.
WordPress Multisite
WordPress 多站点网络设置
For users running a multisite network, save time with a centralized location to easily configure your SMTP settings for all sites.
Manage Multisite Email Logs Easily
Network Admins can view and manage email logs for subsites with easy switching and dashboard views.
专业支持
We provide
limited support on the
WordPress.org forums. World-class one-on-one email support is available to
WP Mail SMTP Pro users.
白手套设置
If you’re not sure how to fix your emails, sit back and relax. We’ll set up WP Mail SMTP for you!
White Glove Setup includes installation, configuration in WordPress, DNS configuration, full mailer setup, and testing. White Glove Setup is available for our recommended mailers: SendLayer, Brevo, and
SMTP.com.
贡献者
WP Mail SMTP plugin was originally created by Callum Macdonald. It is now owned and maintained by the team behind
WPForms - the best drag & drop form builder for WordPress.
You can try the
free version of WPForms plugin to see why it's the best in the market.
4.7.1 - 2025-11-26
Added: WordPress playground blueprint file.
Fixed: Text domain in a couple of strings.
Changed: Switched Return-Path option to enabled by default to align with WordPress core.
4.7.0 - 2025-11-12
- Added: New transactional mailer: Resend integration.
- Fixed: Recurring task filling up task meta table.
4.6.0 - 2025-08-26
- Added: New transactional mailer: Mandrill integration.
- Fixed: References and In-Reply-To email headers are now correctly preserved for API-based mailers.
4.5.0 - 2025-06-05
- IMPORTANT: Support for PHP 7.2 has been discontinued. If you are running this version, you MUST upgrade PHP before installing or upgrading to WP Mail SMTP v4.5. Failure to do that will disable WP Mail SMTP functionality.
- Added: New transactional mailer: MailerSend integration.
- Fixed: Microsoft Outlook basic auth deprecation notice dismissal.
- Changed: Updated the list of conflicting plugins (added Site Mailer, SureMail, Gravity SMTP).
4.4.0 - 2025-03-05
- Fixed: Emails queue runner Action Scheduler task deadlock issue.
- Fixed: Undefined array key "wp_mail_smtp_reports_widget_lite" warning in the dashboard widget.
4.3.0 - 2024-12-11
- Added: New transactional mailer: Elastic Email integration.
- Changed: The "Tools -> Scheduled Actions" menu is now always visible when WooCommerce or the Action Scheduler plugin is active.
- Fixed: SMTP password and username fields ignored
WPMS_SMTP_AUTH constant.
4.2.0 - 2024-11-06
- Added: New transactional mailer: Mailjet integration.
- Changed: Improved security for sensitive data (API keys).
- Fixed: SMTP2GO mailer special characters handling in from name.
4.1.1 - 2024-08-15
- Changed: Delete
wp-mail-smtp uploads folder on plugin uninstall, if the "Misc > Uninstall" option is enabled.
- Changed: Decreased
PHPMailer timeout value to 30 seconds from 5 minutes.
- Changed: Improved Weekly Summary Email sending.
- Fixed: Missing Reply-To support in SMTP2GO mailer.
- Fixed: Setup Wizard translations not working correctly.
4.1.0 - 2024-07-17
- Added: New transactional mailer: SMTP2GO.
- Changed: Recurring email queue tasks are now removed after completion.
- Fixed: Wrong namespace in PHP 8.0x Symfony polyfills.
- Fixed: All pending background tasks are now canceled on plugin deactivation.
4.0.1 - 2024-02-29
- Added: Optimized Email Sending - move email sending requests in the background process and speed up your site.
- Added: Automatic database table structure migrations after plugin update.
- Changed: Improved error handling when sending emails.
- Fixed: Database error while adding debug events if the
wpmailsmtp_debug_events table does not exist.
3.11.1 - 2024-01-22
- Fixed: Setup Wizard texts.
- Fixed: Compatibility for List-Unsubscribe header.
3.11.0 - 2023-12-13
- Added: Filter to customize the capability required for managing the plugin.
- Changed: Hide test tab movement notice for new users.
- Changed: Improved keyboard navigation styles for the Setup Wizard.
- Changed: Removed
WPMailSMTP\Admin\PluginsInstallUpgrader class and switched to the WordPress Core Plugin_Upgrader class.
- Changed: The "From email" dropdown to the input field in the Gmail mailer.
- Fixed: PHP deprecation notices in the Setup Wizard on WordPress 6.4 and above.
- Fixed: Compatibility issue with Action Scheduler lower than 3.3.0.
3.10.0 - 2023-11-08
- Added: Filter that allows to use your website's URL for Google OAuth redirect URL.
- Changed: Improve plugin settings UI, by changing checkboxes to toggles and some dividers cleanup.
- Changed: Replaced moment.js library to the WP Core's bundled one.
- Fixed: Translation strings on the Dashboard widget.
3.9.0 - 2023-08-30
- Changed: Moved the Email Test tab from the settings page to the tools page.
- Changed: Removed Sendinblue SDK library because it was deprecated.
- Changed: Mailgun API instructions.
- Fixed: Debug Event details popup scrolling.
- Fixed: Conflict with other plugins (Alt Manager) that made the WP Plugins install page unusable.
3.8.2 - 2023-07-20
- Changed: Improved notifications formatting and styles.
- Changed: Sendinblue rebranded to Brevo.
- Fixed: Explicitly set "Content-Type" header for the HTML test email.
3.8.0 - 2023-04-26
- IMPORTANT: Support for PHP 5.6, 7.0, and 7.1 has been discontinued. If you are running one of those versions, you MUST upgrade PHP before installing or upgrading to WP Mail SMTP v3.8. Failure to do that will disable WP Mail SMTP functionality.
- Changed: Updated Moment.js library to 2.29.4.
- Changed: Removed unneeded sodium_compat library.
- Fixed: Email address with apostrophes in the Email Test page.
- Fixed: Review request notice display on subsites admin area in WP Multisite installation.
- Fixed: Setup Wizard playing UA anthem for certain WP sites.
3.7.0 - 2022-12-15
- Changed: Improved Action Scheduler data cleanup on plugin uninstall.
- Changed: Improved performance for database table validation checks.
- Fixed: Tasks meta database table error.
- Fixed: Gmail mailer authorization error if the oAuth app already had other non mail scopes attached.
- Fixed: Email address validation in Setup wizard.
- Fixed: Removed unneeded composer libraries autoload code.
- Fixed: Conflict detection for plugin Sendinblue - WooCommerce Email Marketing (v3.0+)
3.6.1 - 2022-10-06
- Added: The
wp_mail function call backtrace to the Debug Events if the "Debug Email Sending" option is enabled.
- Added: Plugin's DB tables re-creation process in WP Site Health.
- Added: Debug Events retention period setting.
- Changed: Updated the list of conflicting plugins (added Zoho Mail).
- Changed: Improved conflicting plugins' admin notices (display multiple at once)
- Changed: Switched to the WP Core function
is_email for verifying email addresses.
- Changed: Improved the detection if
wp_mail function is overwritten.
- Fixed: Gmail mailer not using the correct From Email Address in Domain Checker.
- Fixed: Setup Wizard steps navigation, when going backwards.
3.5.2 - 2022-08-17
- Fixed: The check if
wp_mail function is overwritten on Windows servers.
3.5.1 - 2022-07-14
- Changed: Removed MailPoet from the list of conflicting plugins.
- Fixed: PHP warning for undefined variable when using the Default (none) mailer.
3.5.0 - 2022-07-14
- Added: Check if
wp_mail function is overwritten.
- Added: DB table (
wpmailsmtp_tasks_meta) cleanup after scheduled actions execution. Keeps DB size small.
- Changed: Updated the list of conflicting plugins (added Branda and MailPoet).
- Changed: Updated Action Scheduler library to 3.4.2.
- Fixed: SMTP.com mailer email content-encoding.
- Fixed: Dashboard widget graph when there is no email logs data.
- Fixed: Missing Sendinblue email body WP filter.
- Fixed: Chart.js library conflicts with other plugins.
3.4.0 - 2022-04-27
- Added: New transactional mailer: SendLayer integration.
- Changed: Improved Mailgun API error message extraction.
- Changed: Standardized error messages format and improved WP remote request errors extraction.
- Fixed: Lite plugin uninstall actions clearing plugin options while Pro version is active.
- Fixed: Hiding unrelated network admin notices on WP Mail SMTP pages.
3.3.0 - 2022-02-17
- IMPORTANT: Support for WordPress versions 5.1.x or lower has been discontinued. If you are using one of those versions, you MUST upgrade WordPress before installing or upgrading to WP Mail SMTP v3.3. Failure to do that will disable WP Mail SMTP functionality.
- Added: PHP 8.1 compatibility.
- Changed: Updated the list of conflicting plugins (added FluentSMTP and WP HTML Mail).
- Changed: Improved debug error message for the Other SMTP mailer in Debug Events.
- Changed: Updated Action Scheduler library to 3.4.0.
- Changed: Improved Action Scheduler performance.
- Fixed: PHP deprecated notices in Sendinblue library (PHP 7.4+).
- Fixed: DB tables row in Site Health Info section is now private.
- Fixed: Debug Events' screen options visible on general Tools page.
- Fixed: Screen Options right alignment.
3.2.1 - 2021-11-17
- Fixed: PHP 8 compatibility when existing Gmail mailer connection is revoked.
3.2.0 - 2021-11-11
- Added: New transactional mailer - SparkPost integration.
- Added: One-click migration from FluentSMTP plugin.
- Added: Plugin constants integration in Setup Wizard.
- Fixed: Early plugin deactivation issue with activity log plugins.
3.1.0 - 2021-09-28
- Added: New transactional mailer - Postmark integration.
- Added: Support for string attachments (added via PHPMailer object).
- Changed: Improved Email Source detection in Debug Events for WP Core sent emails.
- Changed: Improved uninstall process. It now removes all plugin DB data and tables.
- Fixed: Email Source detection in Debug Events for file paths with backslashes.
- Fixed: Blurry image assets in Weekly Email Summary.
- Fixed: PHP extension mb_strings not polyfilled correctly.
- Fixed: Added missing is_email_sent filters for Sendinblue, Mailgun, and Gmail mailers.
- Fixed: Debug Events double-entry DB save, because of a bug in is_email_sent method for certain mailers.
3.0.3 - 2021-08-09
- Fixed: Weekly Summary Email sending when migration code didn't trigger yet.
3.0.2 - 2021-08-05
- Fixed: Fatal PHP error on WP version 5.2 and lower (missing wp_timezone function).
3.0.1 - 2021-08-05
- Added: Weekly Email Summary - email sending statistics sent to your inbox.
- Added: Debug Events - logging all email sending errors and debug events.
- Added: Quick admin area links.
- Changed: Updated the successful Email Test screen.
- Changed: Updated Action Scheduler library to 3.2.1.
- Fixed: WP core admin spinner for the dashboard widget.
- Fixed: PHP error when objects implementing
__invoke() method were used as hook callbacks for admin notices.