DevBrothers SMTP
DevBrothers SMTP routes the standard WordPress mailer (wp_mail) through your own SMTP server instead of PHP mail(). It configures the PHPMailer instance bundled with WordPress on the phpmailer_init hook, so every plugin and theme that calls wp_mail() benefits automatically.
Optionally, you can also send a plain-text copy of each email to a Telegram chat (success and/or failure). Telegram notifications are disabled by default and only run when you enable them and provide a bot token and chat ID.
Key Features
- One-click presets — Yandex Mail and Mail.ru (host, port, SSL) filled in automatically
- Custom SMTP — manual host, port, TLS or SSL, optional authentication
- Custom sender — optional From email and From name, with a force option
- Test email — one-click send to verify SMTP settings
- Delivery log — last 200 messages with sent/failed status and error text
- Telegram copies — optional plain-text copy of emails to a Telegram chat (opt-in)
- Secure secrets — optional
DBSMTP_PASSWORD,DBSMTP_TELEGRAM_BOT_TOKEN, andDBSMTP_TELEGRAM_CHAT_IDconstants inwp-config.php - DevBrothers Admin Panel — settings inside the unified DevBrothers interface
Requirements
- WordPress 5.8+
- PHP 7.4+
- DevBrothers Admin Panel (required dependency)
External services
This plugin connects only to services that you configure. No data is sent to DevBrothers.
Your SMTP server
When SMTP delivery is enabled, WordPress emails (recipients, subject, body, attachments, and headers) are transmitted to the host, port, and account you specify. The plugin does not connect to a fixed third-party email API — you choose the server (for example Yandex Mail, Mail.ru, your hosting provider, or another SMTP service).
Authentication credentials (username and password) are stored in your WordPress database, or in the DBSMTP_PASSWORD constant in wp-config.php. They are used only to connect to your configured SMTP server.
- Service provider: defined by you (the site administrator)
- Terms and privacy: depend on your chosen SMTP provider
Telegram Bot API (optional)
When Telegram notifications are enabled, the plugin sends a plain-text summary of the email (site name, URL, From, To, subject, body text, and optional error message) to the Telegram Bot API endpoint https://api.telegram.org/bot{token}/sendMessage.
Data is sent only when:
- the Telegram toggle is enabled in settings, and
- a bot token and Chat ID are configured (in settings or via
wp-config.phpconstants), and - the corresponding notify option (success and/or failure) is enabled.
Bot token and Chat ID are stored in your WordPress database, or in the DBSMTP_TELEGRAM_BOT_TOKEN / DBSMTP_TELEGRAM_CHAT_ID constants in wp-config.php. They are used only to call the Telegram Bot API.
- Service provider: Telegram FZ-LLC
- Terms: https://telegram.org/tos/bot-developers
- Privacy: https://telegram.org/privacy
Local delivery log
The plugin stores a log of sent and failed messages (recipient, subject, status, error text) in a database table on your site. This data is not transmitted to DevBrothers or any external service.
