跳到内容

SMTP

v1.2.0

WordPress.org · 2011年6月28日 上架

Send WordPress emails through an SMTP server, with an extensible provider API and a simple email log.

正在使用
800+
评分
5.0 / 5
累计下载
8.4 万
最近更新
2026年11月17日
2 条评价需要 WordPress 6.3+已测试到 6.9.12PHP 7.4+

贡献者

SMTP is a minimal, community-maintained plugin that sends the emails of your site through the SMTP server of your choice.

  • Simple settings: host, port, encryption, authentication, From email and From name under Tools > SMTP.
  • Constants support: define SMTP_HOST, SMTP_PORT, SMTP_ENCRYPTION, SMTP_USER, SMTP_PASSWORD and SMTP_FROM_EMAIL in wp-config.php to override the saved values. Recommended for production, so credentials stay out of the database.
  • Email log: every email sent with wp_mail() is logged with its recipient, subject, status and error. The message body and attachments are never stored. Entries are deleted after 30 days.
  • Alerts: get a Slack message when an email fails to send, so a broken mailer does not go unnoticed. Developers can add more channels.
  • Test email: send a test message to yourself and see the connection log and a hint on what to check if something goes wrong. Credentials are redacted.
  • WP-CLI: configure the plugin, send a test email and check the status from the command line.
  • Extensible: developers can add more providers. See the technical documentation on GitHub.

The plugin does nothing until a host is configured, so activating it never breaks your site’s email.

Contributing

SMTP is developed in the open. Bug reports, ideas and pull requests are welcome at github.com/wordpress/smtp.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums