跳到内容

Surbma | SMTP

v2.3

Surbma · 2016年3月17日 上架

External SMTP mail configuration via global variables in wp-config.php.

正在使用
20+
评分
暂无
累计下载
2,626
最近更新
2023年11月26日
需要 WordPress 5.0+已测试到 6.4.15PHP 7.0+

This plugin is created especially for Multisite Networks. You can define all variables in the wp-config.php file and it will be valid for all sites in a Multisite. So this is not for a site-by-site configuration plugin. You can install it on a single WordPress install also and it will work perfectly. But if you install it in a Multisite Network, you can only network activate it!

This plugin is working with all SMTP servers and services, like Mailgun, SendGrid, Mandrill, Amazon SES and others.

Required variables:

  • SURBMA_SMTP_HOST – External SMTP server.
  • SURBMA_SMTP_USER – User for the SMTP account.
  • SURBMA_SMTP_PASSWORD – Password for the SMTP account.

Optional variables:

  • SURBMA_SMTP_PORT – Port number for the SMTP server.
  • SURBMA_SMTP_SECURE – Choose SSL or TLS, if necessary for your SMTP server.
  • SURBMA_SMTP_FROM – From email address for all outgoing emails.
  • SURBMA_SMTP_FROMNAME – From name for all outgoing emails.

Example configuration:

    define('SURBMA_SMTP_HOST','smtp.mailgun.org');
    define('SURBMA_SMTP_USER','postmaster@surbma.com');
    define('SURBMA_SMTP_PASSWORD','bb2b************************4133');

You can put these lines everywhere before the line, that says: “That’s It. Pencils down”

Do you want to contribute or help improving this plugin?

You can find it on GitHub: https://github.com/Surbma/surbma-smtp

You can find my other plugins and projects on GitHub:

https://github.com/Surbma

Please feel free to contribute, help or recommend any new features for my plugins, themes and other projects.

Do you want to know more about me?

Visit my webpage: Surbma.com

Plums

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

导航

说明

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

© 2026 Plums