Priority over every mail path
- Every
wp_mail()email goes through your connection, from WordPress core and from any plugin or theme. Nothing to change in other plugins. - Your connection is applied last, at the moment of sending, so other plugins' changes to mail settings (
phpmailer_init) cannot redirect your email. - If another plugin replaces the WordPress mailer object, Sysgage SMTP takes it back and still sends through your connection.
- If another plugin blocks emails before they are sent (
pre_wp_mail), Sysgage SMTP sends them anyway (can be turned off for staging tools that block email on purpose). - Forced From email and From name, applied after every other plugin.
- Return path set to the From email so bounces come back to you and SPF lines up.
- Message-ID on your own domain and no "X-Mailer: PHPMailer" header, two small details spam filters look at.
- Conflict scanner: lists other active SMTP plugins (WP Mail SMTP, FluentSMTP, Post SMTP, Easy WP SMTP and more) with one-click deactivate, and shows any code that changed mail settings, blocked an email or swapped the mailer.
19 ways to send
| Group | Services |
|---|---|
| Your web host | Hostinger Email: connect with a Hostinger Mail API token and pick the mailbox to send from (the list comes straight from Hostinger), or use the mailbox password over SMTP (smtp.hostinger.com, SSL 465 or TLS 587). Emails that need a Reply-To can go over SMTP automatically. |
| Your own mail server | Other SMTP (any host: cPanel, Plesk, Zoho, Google Workspace and Microsoft 365 SMTP relay…) with SSL, TLS/STARTTLS, auto TLS, auth, custom HELO, timeout |
| Sign in with your email account | Google / Gmail (Gmail API), Microsoft 365 / Outlook (Microsoft Graph), Zoho Mail (Zoho Mail API), with secure OAuth sign-in and automatic token refresh |
| Email sending services (API) | Amazon SES (v2 API, all regions), SendGrid, Mailgun (US/EU), Postmark (message streams), Brevo (Sendinblue), SparkPost (US/EU), SMTP2GO, Mailjet, Resend, Elastic Email, MailerSend, Mailchimp Transactional (Mandrill), SendLayer |
| Other | Web server (PHP mail) |
- Attachments, Cc, Bcc, Reply-To, custom headers, HTML and plain-text versions supported on every service.
- Common SMTP settings table with one-click fill for popular providers.
- Clear, plain-language error messages with a hint for the fix (wrong password, blocked port, unverified sender, quota…).
Backup and routing
- Backup connection: if the primary fails, the email is sent immediately through a second service. The log marks emails saved by the backup.
- Unlimited connections, each with its own From email and name.
- Smart routing: send some emails through a different connection by Subject, To/Cc/Bcc, From, the plugin that sent it, or any header, with contains / is / starts with / ends with / pattern matching and all/any conditions. Example: store emails through Amazon SES, everything else through your mailbox.
Email log
- Every email with status (Sent, Failed, Sent by backup, Not sent), recipients, subject, the plugin or theme that sent it, connection, opens, clicks and date.
- Filters by status, date range, sending plugin and connection; full-text search including error messages.
- Email details: all headers, Message-ID, error and hint, safe sandboxed preview, plain text, attachments and an open/click timeline.
- Resend one or many emails, to the original or new recipients, with attachments.
- Optional attachment storage in a protected folder.
- CSV export (safe against spreadsheet formula injection), bulk delete, empty log.
- Automatic clean-up after a set number of days.
- Failure count badge on the Email log menu item.
Open and click tracking
- Invisible open pixel and click tracking through your own site.
- Signed click links, so your site can never be used as an open redirect.
- Visitor IPs stored only as a one-way hash.
- Open rate and click counts on the dashboard and in the log.
Deliverability check
- Scores your From domain out of 100.
- SPF: checks your mail service is allowed (includes followed, nested records checked, more than one SPF record and the 10-lookup limit flagged) and gives the exact corrected record to copy.
- DKIM: finds the keys your service signs with (including Hostinger's hostingermail-a/b/c), or checks a custom selector.
- DMARC: checks the record and explains the policy, with a starter record to copy.
- MX and From address checks (free addresses such as gmail.com, and OAuth account alignment).
- Works even on hosts without DNS functions (secure DNS-over-HTTPS fallback).
Alerts and reports
- Alerts when an email fails or the backup had to be used.
- Channels: email (sent through the backup so it still arrives), Slack, Discord, Microsoft Teams, any webhook (JSON) and SMS through Twilio.
- Flood protection: at most one alert every N minutes, with a count of what was held back.
- Test-alert button for every channel.
- Weekly summary email with sent, failed, success rate, opens and top sending plugins, compared with the week before.
- Admin notice when the last email failed, with a link to the details.
Dashboard
- Sent, failed, success rate and open rate for the last 30 days.
- Emails per day chart (sent and failed).
- Deliverability score, connection status, recent failures and the plugins that send the most.
- WordPress Dashboard widget.
Email controls
Turn off WordPress's own notification emails without code: comment and moderation notices, admin email change, new user, welcome, password and email change notices, automatic update emails and personal data request emails.
Tools
- Test email to any address through any connection, HTML or plain text, with the full SMTP conversation for troubleshooting (passwords hidden).
- Connectivity check of ports 25, 465, 587 and 2525 from your server.
- Server information: PHP, OpenSSL, encryption, DNS and WP-Cron.
- Settings export and import (secrets never exported).
- "Do not send" mode for staging sites (emails logged, never sent).
Security and privacy
- Passwords, API keys, OAuth tokens and alert webhooks encrypted at rest (libsodium), with an optional own key (
SGSMTP_ENCRYPTION_KEY). - Any setting can be defined in
wp-config.php(SGSMTP_HOST,SGSMTP_PASSWORD,SGSMTP_API_KEY…) and is then locked in the admin. - Capability checks and nonces on every action; protected attachment folder; sandboxed email preview with a strict content security policy.
- WordPress privacy tools: policy text, personal data export and erasure of log entries.
- Site Health tests and debug information.
For developers
- WP-CLI:
wp sysgage-smtp status | test | log | resend | dns | purge. - Public functions
sysgage_smtp_is_configured()andsysgage_smtp_status()for other plugins. - Filters:
sgsmtp_hostinger_smtp,sgsmtp_mailers,sgsmtp_connection_for_email,sgsmtp_cancel_short_circuit,sgsmtp_track_email,sgsmtp_capability,sgsmtp_known_conflicts,sgsmtp_x_mailer,sgsmtp_api_url,sgsmtp_dns_txt,sgsmtp_dns_mx. - Action:
sgsmtp_after_send(success flag and details of the send: log id, connection, error). - WordPress's standard
wp_mail_succeededandwp_mail_failedactions still fire, so other tools keep working.
Design
- Clean, modern admin with a consistent Sysgage look, fully responsive down to phone width (tables become cards).
- Scoped styles that never affect other admin screens.
- Accessible: labelled fields, keyboard-friendly controls, live regions for results.
- Translation ready (text domain
sysgage-smtp).
Requirements
WordPress 6.3 or later (tested on 7.1), PHP 7.4 or later. The sodium extension (standard since PHP 7.2) for encryption.
