Surbma | SMTP


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:


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:

You can find my other plugins and projects on GitHub:

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:


  1. Upload surbma-smtp folder to the /wp-content/plugins/ directory
  2. Activate the Surbma – SMTP plugin through the ‘Plugins’ menu in WordPress
  3. Set every global variable in the wp-config.php file.
  4. That’s it. 🙂


What does Surbma mean?

It is the reverse version of my last name. 😉


이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Surbma | SMTP”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.


자국어로 “Surbma | SMTP”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.



Release date: 2023-04-08

  • Minor code optimization.
  • Tested up to WordPress 6.2 version.


Release date: 2019-07-02

  • Minor changes in title and description.
  • Tested up to WordPress 5.2 version.


  • Minor change in description.


  • Simple versioning.
  • Minor code optimizations.
  • Tested up to WordPress 4.9 version.
  • Tested with PHP 7.2 version.


  • Allow only network activation in Multisite Networks.
  • Added detailed description.


  • Initial release.