Linux 软件免费装
Banner图

Saral SMTP

开发者 saraltechies
更新时间 2026年10月21日 22:47
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

email smtp gmail smtp email log amazon ses

下载

1.2.0

详情介绍:

By default WordPress sends email with PHP mail(), which has no authentication, so a lot of it goes to spam or is never delivered. Saral SMTP sends every wp_mail() email through a proper email service instead, using the service's own API where it has one. Plugins and themes that send email need no changes. Most SMTP plugins stop there: one service for every email, and a generic "check your SPF and DKIM" warning. Saral SMTP is built for sites where email matters enough to get those two things right. Route by sender A shop's order emails, a contact form's messages and WordPress's password resets have different needs. Saral SMTP knows which plugin, theme or WordPress feature sent each email, so you can send each sender's emails through its own connection: WooCommerce orders through Amazon SES, contact form messages through your Google Workspace mailbox, everything else through Brevo. The fallback connection still covers all of them, and the email log shows why each email went through the connection it did. A deliverability check that knows your email service Since 2024 Gmail, Yahoo and Microsoft reject or junk email from domains without SPF, DKIM and DMARC, and every email service needs different records. Choose a connection and Saral SMTP checks the records that service needs: the SPF include it requires (merged into your existing SPF record, ready to copy), the DKIM selectors it signs with, MailChannels' Domain Lockdown, and DMARC. For Amazon SES it asks SES for your domain's three DKIM keys and tells you exactly which CNAME records are missing. "Other SMTP" connections are recognized by their server, so smtp.office365.com is checked as Microsoft 365. Supported email services Features Developer hooks

安装:

  1. Upload the saral-smtp folder to /wp-content/plugins/, or install it from Plugins → Add New.
  2. Activate the plugin. You are taken to the Saral SMTP dashboard.
  3. Click Add your first connection, choose your email service and enter its details.
  4. Send a test email from the dashboard or the Connections page.

屏幕截图:

  • Route by sender: WooCommerce, contact form and WordPress emails each go through their own email service.
  • Deliverability check for a chosen email service, with the exact DNS records to add.
  • Choosing an email service.
  • Email log with filters.
  • Email details with preview, why the connection was used, server response and resend.
  • Failure alerts settings.

升级注意事项:

1.1.0 Adds routing by sender and a deliverability check that gives you the exact DNS records your email service needs. 1.0.0 Initial release.

常见问题:

How does routing by sender work?

Saral SMTP records which plugin, theme or WordPress feature called wp_mail() for every email (you can see it in the email log). Under Settings → Route by sender, choose a connection for any of them. An email follows the first rule that matches: a connection chosen for a test or resend, then the rule for its sender, then a connection whose From address matches, then the default connection. If that connection fails, the fallback connection takes over. Retries and resends follow the same rules as the original email.

Why does the deliverability check need my connection?

Each email service authorizes your domain differently. Brevo needs include:spf.brevo.com in SPF and DKIM keys at brevo1 and brevo2; Amazon SES needs three DKIM keys that are unique to your domain and no SPF change; Resend needs SPF on a send. subdomain. Knowing the service lets Saral SMTP check the right records and give you the exact ones to add, instead of a generic warning. Without a connection, it runs a general check.

Which email service should I choose?

For a business domain, an API service such as Amazon SES, Brevo, Postmark, Resend or SendGrid is usually the most reliable. If you already use Google Workspace or Microsoft 365, the Gmail or Microsoft 365 connection is the easiest. If your host blocks outgoing SMTP ports, choose any API-based service.

Do I need to change my contact form or WooCommerce settings?

No. Saral SMTP handles every email sent with wp_mail(), which is what almost all plugins and themes use.

How does the fallback connection work?

If the connection chosen for an email fails, Saral SMTP sends the same email through the fallback connection straight away. The log shows that the fallback was used and why the first connection failed.

My emails still go to spam.

Run Tools → Domain deliverability check. Your domain needs an SPF record that includes your email service, the DKIM records your service gives you, and a DMARC record. Use a From address on that domain.

Are my API keys safe?

They are encrypted with AES-256 before they are stored, using a key derived from your site's salts (or SARALSMTP_ENCRYPTION_KEY if you define it). Saved secrets are never sent back to the browser. If you change your salts, enter the keys again.

Can I stop emails from being sent on my staging site?

Yes. Turn on Settings → Disable all email sending. Emails are still logged, so you can check them.

What happens to my data when I delete the plugin?

Connections, settings and logs are kept unless you turn on Settings → Delete all Saral SMTP data when the plugin is deleted.

Does it work with multisite?

Each site in a network has its own connections and log.

更新日志:

1.2.0 1.1.0 1.0.0