描述
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.
什么是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)
- Mailgun SMTP
- Mailjet SMTP
- SendGrid SMTP
- Postmark SMTP
- SparkPost SMTP
- SMTP2GO
- Microsoft SMTP (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 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.
屏幕截图
安装
- Install WP Mail SMTP by WPForms either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install a WordPress plugin)
- 激活 WP Mail SMTP by WPForms。
- 在WordPress仪表盘中,转到WP Mail SMTP的设置页面。
- Choose your SMTP option (SendLayer, SMTP.com, Brevo (formerly Sendinblue), Gmail SMTP, Mailgun SMTP, Mailjet, SendGrid SMTP, Postmark, SparkPost, SMTP2GO, or Other SMTP) and follow the instructions to set it up.
- Need more help? Get support with WP Mail SMTP 专业版.
常见问题
-
Which email providers does WP Mail SMTP support?
-
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, email logs, and email list management.
SendLayer is the best choice if you want a mailer that’s 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是我们推荐的付费电子邮件服务。
SMTP.com拥有超过22年的电子邮件传递可靠经验,其存在的时间几乎与电子邮件本身一样悠久。其被互联网供应商称为互联网上最可靠的邮件传递服务之一。
其简单的集成过程让您在几分钟内就可以开始发送邮件,并从它们多年的经验中受益。SMTP.com在前30天为用户提供50,000封免费电子邮件额度。
Read our SMTP.com documentation for more details.
Brevo (formerly Sendinblue) SMTP
Brevo is a recommended transactional email service.
他们为全球80,000多家成长中的企业提供服务,每天发送超过3000万封电子邮件。
Their email deliverability experts are constantly at work optimizing the reliability and speed of their SMTP infrastructure. Brevo provides users 300 free emails per day.
Read our Brevo documentation for more details.
Gmail SMTP (Gmail, Google Workspace, G Suite)
Often bloggers and small business owners don’t want to use third-party SMTP services. Well you can use your Gmail or Google Workspace (also known as G Suite/Google Apps) account for SMTP emails.
This allows you to use your professional email address and improve email deliverability.
与其他Gmail SMTP插件不同,我们的Gmail SMTP选项使用OAuth来验证您的谷歌账户,使您的登录信息100%安全。
Our plugin also offers the “One-Click Setup” option, which allows you to start sending emails from your Gmail account with just a few clicks. It eliminates the need to manually configure your own Google App, which is a technical and time-consuming process.
Read our Gmail documentation for more details.
Mailgun SMTP
Mailgun SMTP是一个流行的SMTP服务提供商,允许您发送大量的电子邮件。他们每月提供5,000封免费邮件的发送额度,为期3个月。
WP MAIL SMTP插件提供了与MailGun的原生集成。您所要做的就是连接您的MailGun账户,这将会提高您的电子邮件可达性。
Read our Mailgun documentation for more details.
Mailjet SMTP
Mailjet is a global email sending service that allows you to design, send, and track marketing and transactional emails. They provide 6,000 free emails per month (up to 200 emails per day).
WP Mail SMTP plugin offers seamless integration with Mailjet. By connecting your Mailjet account, you can enhance your email deliverability and ensure your WordPress emails reach your recipients’ inboxes.
Read our Mailjet documentation for more details.
SendGrid SMTP
SendGrid提供有免费的SMTP计划,您可以使用它每天发送100封邮件。通过我们的原生SendGrid SMTP集成,您可在WordPress站点上轻松安全地设置SendGrid SMTP。
Read our SendGrid documentation for more details.
Postmark SMTP
Send emails securely using your Postmark account with our API integration. You can sign up for a free trial without a credit card, which allows you to send up to 100 emails per month.
Read our Postmark documentation for more details.
SparkPost SMTP
SparkPost is a transactional email provider that’s trusted by big brands and small businesses. It sends more than 4 trillion emails each year and reports 99.9% uptime. You can get started with the free test account that lets you send up to 500 emails per month.
Read our SparkPost documentation for more details.
SMTP2GO
SMTP2GO is a transactional email provider that offers a robust and reliable email delivery service with global infrastructure, real-time analytics, and advanced security features. If you’re just starting out, you can use SMTP2GO’s free plan to send up to 1000 emails per month.
Read our SMTP2GO documentation for more details.
Microsoft SMTP (Outlook.com and Office 365)
Many businesses use Outlook.com or Microsoft 365 to power their email. Our Microsoft mailer integration allows you to use your existing Outlook.com or Microsoft 365 account to send emails from WordPress for better deliverability.
Read our Outlook and Microsoft 365 documentation for more details.
Amazon SES SMTP
高级或技术用户可以通过Amazon SES邮件程序利用Amazon AWS(Amazon Web Services)的功能。通过此集成,您可以以合理的速率发送大量的邮件。
Read our Amazon SES documentation for more details.
Zoho Mail SMTP
使用您的个人或企业Zoho Mail账户发送电子邮件,同时保证您的登录信息安全。
Read our Zoho Mail documentation for more details.
其他 SMTP
WP Mail SMTP插件可以用于常见的电子邮件服务如Gmail、Yahoo、Outlook、Microsoft Live,也可用于其他提供SMTP的电子邮件服务。
您可以设置以下选项。
- 指定一个SMTP主机。
- 指定一个SMTP端口。
- 选择SSL / TLS加密。
- 是否选择使用SMTP身份验证。
- 指定SMTP用户名和密码。
To see recommended settings for the popular services as well as troubleshooting tips, check out our SMTP documentation.
-
我可以使用此插件去发送Gmail,G Suite,Outlook.com,Office 365,Hotmail,Yahoo或AOL SMTP的电子邮件吗?
-
是的! 我们有大量涵盖了设置SMTP最流行的电子邮件服务的文档。
Read our docs to see the correct SMTP settings for each service.
-
帮助! 我需要支持/我有一个问题。
-
请阅读我们的支持政策了解更多信息。
通过WordPress.org支持论坛为WP Mail SMTP用户提供有限的支持。
WP Mail SMTP Pro用户可获得电子邮件支持和设置的协助。
-
How can I migrate from a different SMTP plugin to WP Mail SMTP?
-
Want to switch from your old SMTP plugin to WP Mail SMTP? We made it easy for you to migrate your SMTP settings in one click!
WP Mail SMTP will automatically detect your existing SMTP plugin (Easy WP SMTP, FluentSMTP, etc) when you run our easy Setup Wizard. Just click Import to copy your settings over.
Our one-click migration tool supports all of these plugins:
- Easy WP SMTP
- FluentSMTP
- Post SMTP Mailer
- SMTP Mailer
- WP SMTP
-
Is WP Mail SMTP available in other languages?
-
We know that majority of people do not speak English, so we professionally translated WP Mail SMTP and WP Mail SMTP Pro into the following languages:
- Spanish (Spain),
- German,
- Portuguese (Brazil),
- Italian,
- French,
- Japanese,
- Polish,
- Dutch,
- Russian,
- Turkish
-
How can I increase plugin security?
-
WP Mail SMTP团队非常重视安全性。该插件不仅遵循所有安全性最佳做法,而且我们提供了多种选择来确保您的网站安全。
-
Direct SMTP mailer integrations (recommended), such as SendLayer, SMTP.com, Brevo (formerly Sendinblue), Mailgun, SendGrid, Postmark, SparkPost and SMTP2GO, use the official provider APIs. This means you never enter your username or password in the plugin settings and these credentials are not stored in the database. Instead, we use tokens or API keys which are much more secure.
-
当使用其他SMTP邮件程序时,我们提供了将密码插入到
wp-config.php
文件中的选项,因此在WordPress设置中不可见,因为它未被保存在数据库中。
-
-
我发现了一个漏洞(bug),现在做啥?
-
谷歌翻译:如果您偶然发现了一个错误,最好的报告位置是 WP Mail SMTP GitHub存储库。 GitHub是插件积极开发的地方,在那里发布将让我们的开发人员(我和Slava)很快看到你的问题。 发布后,我们将审核您的错误报告并对错误进行分类。 创建问题时,可以添加到报表中的详细信息越多,解决错误的速度就越快。
-
您可以在插件中添加x、y或z功能吗?
-
简答:也许会。
By all means please contact us to discuss features or options you’d like to see added to the plugin. We can’t guarantee to add all of them, but we will consider all sensible requests. We can be contacted here:
https://wpmailsmtp.com/contact/.
评价
贡献者及开发者
「WP Mail SMTP by WPForms – The Most Popular SMTP and 电邮日志 Plugin」是开源软件。 以下人员对此插件做出了贡献。
贡献者更新日志
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 CorePlugin_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.