
DevBrothers SMTP
v1.3.1DevBrothers · 2026年7月1日 上架
Send WordPress emails through your SMTP server, with a delivery log and optional Telegram copies of messages.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 614
- 最近更新
- 2026年11月19日
贡献者
截图
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 send plain-text copies of regular emails to a Telegram chat. Password reset emails are excluded. Telegram notifications are disabled by default and require 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 notifications — optional copies of regular email, excluding password reset emails
- Disable admin password-change emails — optional toggle to stop WordPress from emailing
admin_emailwhen a user resets their password - 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 delivery status, site information, sender, recipient, subject and plain-text body of regular emails to https://api.telegram.org/bot{token}/sendMessage. WordPress and WooCommerce password reset emails are not copied. Attachments are not sent; for failed messages the transport error text is included. Separate fallback alerts contain only status and site information.
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.

