Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
  • Swag ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

DigiMail SMTP – Email Log & Form Spam Guard

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

DigiMail SMTP – Email Log & Form Spam Guard

By Mr Chí
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

DigiMail SMTP routes every wp_mail() call (WooCommerce orders, contact forms, password resets, notifications) through DigiMail, an email delivery service for Vietnamese businesses.

There is no SMTP host, port or password to configure.

Two ways to connect

  • Quick start: enter your email, type the 6-digit code we send you, and the site can send immediately from a shared notification address (your-site@thongbao.digimail.vn). Replies go to your own email.
  • Existing DigiMail account: click Log in and connect, approve the site on digimail.vn, and you are sent back connected. Sites with a verified domain send from your own address (for example noreply@yourshop.vn).

Features

  • Email log with real delivery status from the receiving server: delivered, bounced, complained, opened. Open any message to see its content, attachments and timeline.
  • Resend any email from the log, to the same recipient or to another address. Handy when a customer says the order email never came.
  • Email design: your logo, colours, font and footer (address, phone, Facebook, Zalo, TikTok…) on every WooCommerce email, with three templates, an order summary with status, a progress bar (order placed, processing, completed), product pictures and a button to view or pay for the order. Works on phones and in dark mode. Optionally gives plain-text WordPress emails (password resets, form notifications) the same look, keeping a plain-text version. Live preview of every email, before and after, on a computer or a phone, and test sends. Off until you turn it on.
  • Overview dashboard: sends per day, delivery rate, which plugin sent what, and your quota.
  • A box on the WordPress Dashboard with emails sent in the last 7 days, how many arrived, and how much of the month’s quota is used.
  • Background sending: checkout and contact forms do not wait for email. Mail is queued locally and retried with backoff if DigiMail cannot be reached.
  • Backup connection: plain SMTP (your hosting, Gmail, Microsoft 365…) used only when DigiMail cannot send, so no email is lost.
  • Test email, with clear guidance when a message does not arrive.
  • Save form contacts to DigiMail (optional): email, name and phone from your forms and WooCommerce orders go into a contact list on digimail.vn for your campaigns.
  • Customers tab: see who filled in which form, on which page and when, filter by form, search, and export to CSV.
  • Form spam guard (on by default): stops bots before a form sends any email, with no puzzle for visitors. A hidden trap field, a signed token with a small proof-of-work solved by the browser, timing and interaction checks, rate limits, content checks (links in name fields, foreign scripts, random names, throwaway addresses, your comment blocklist). Optionally, and off by default, doubtful submissions can also be checked by Akismet if your site uses it. Blocked submissions are listed so you can put back anything blocked by mistake.
  • Verify your own domain from the plugin: the DNS records to add with copy buttons and live status, one-click setup through Cloudflare, a zone file to import, and the plugin switches to your domain by itself once verified.
  • Alerts by Telegram and email: failing emails, quota nearly used up, rising bounces or spam reports, a plugin that stopped reporting, forms hit by bots, domain verified or failing.
  • Weekly summary by email every Monday: emails sent, delivery rate and spam blocked on each website, and the month’s quota. Nothing is sent after a quiet week, and it can be turned off.
  • Email to addresses typed by visitors is checked by DigiMail before it goes out (real address, domain that takes mail, not bounced before, not mailed too often), so bots cannot use your forms to send email to strangers.
  • Email controls: turn off WordPress default notifications you do not need (new comments, new users, password changes, automatic updates).
  • One-click import of sender settings and the SMTP server from WP Mail SMTP, Easy WP SMTP, Post SMTP, FluentSMTP and SMTP Mailer. The old SMTP server becomes your backup connection.
  • Manage many sites from one DigiMail account: see every site’s health, pause or disconnect a site on digimail.vn.
  • Site Health checks and WP-CLI commands (wp digimail status|test|queue|connect|disconnect).
  • Available in English and Vietnamese; translation ready for other languages.
  • Agencies can set the site key in wp-config.php: define( 'DIGIMAIL_SMTP_TOKEN', 'dm_...' );

The shared notification address is meant for transactional mail (orders, forms, account email) and has a daily limit. Verify your own domain on digimail.vn to send from your own address with your account’s full quota.

External services

This plugin connects to the DigiMail service, operated by DigiMail (digimail.vn). It is required: without it the plugin cannot send email, except through the optional backup SMTP server you configure yourself.

  • api.digimail.vn — When you connect, the plugin sends your email address (quick start), the site URL and site name. Every time WordPress sends an email, the full message (recipients, subject, body, attachments, headers) and the name of the plugin that sent it are sent to DigiMail so it can be delivered. Twice a day the plugin sends a status check with the site URL and name, the plugin version, how many emails are waiting or failed on the site, and the spam guard’s on/off state and counts of checked and blocked submissions, so DigiMail can warn you about mail that is not going out. Only if you turn on “Share diagnostics with DigiMail support” (off by default) does it also include the WordPress, PHP and WooCommerce versions, site language, multisite, a few of this plugin’s settings and the names of other active email plugins. When you open the plugin screens, the plugin requests your send log, statistics and account status. If you turn on “Save form contacts to DigiMail”, the email, name, phone and company that visitors enter in supported forms or at WooCommerce checkout, with the form name and page, are sent to DigiMail and added to your contact list. Emails sent while an anonymous visitor submits a form are marked so DigiMail can check unfamiliar recipients before sending; if one of the recipients is the site’s admin email, the message says so, so that address is not checked. The spam guard itself runs on your site and sends nothing to DigiMail.
  • Cloudflare (only if you choose Add records in Cloudflare) — The Cloudflare API token you paste is sent to DigiMail, stored encrypted, and used by DigiMail to add your domain’s DNS records through the Cloudflare API. Cloudflare terms: https://www.cloudflare.com/website-terms/ — Privacy: https://www.cloudflare.com/privacypolicy/
  • Telegram (only if you connect Telegram alerts) — Connect Telegram opens t.me in your browser to start a chat with DigiMail’s bot. The plugin sends nothing to Telegram; DigiMail’s server sends the alerts. Telegram terms: https://telegram.org/tos — Privacy: https://telegram.org/privacy
  • Akismet (off by default; only if Akismet is active on your site and you turn on “Also ask Akismet”) — Only for form submissions that the spam guard already finds doubtful, the visitor’s name, email, message, IP address and browser are sent to Akismet’s comment-check service, as Akismet does for comments. Akismet terms: https://akismet.com/tos/ — Privacy: https://automattic.com/privacy/
  • digimail.vn — When you choose Log in and connect, your browser is sent to digimail.vn to approve the connection. No data is sent from the server in this step.

Service: https://digimail.vn
Terms of service: https://digimail.vn/dieu-khoan
Privacy policy: https://digimail.vn/chinh-sach-bao-mat

If you turn on the backup connection, messages that DigiMail cannot accept are sent to the SMTP server you enter, under that provider’s terms.

Screenshots

Overview: emails sent per day, delivery rate, which plugin sent what, and the month's quota.
Overview: emails sent per day, delivery rate, which plugin sent what, and the month’s quota.
Email log with the real delivery status of every message.
Email log with the real delivery status of every message.
Message details: timeline from the receiving server, content preview, and Send again.
Message details: timeline from the receiving server, content preview, and Send again.
Customers: who filled in which form, and the spam submissions that were blocked.
Customers: who filled in which form, and the spam submissions that were blocked.
Settings: sender, your own sending domain, alerts by Telegram and email.
Settings: sender, your own sending domain, alerts by Telegram and email.
The box on the WordPress Dashboard.
The box on the WordPress Dashboard.
Email design: templates, brand colour and logo, with a live preview of every WooCommerce email.
Email design: templates, brand colour and logo, with a live preview of every WooCommerce email.

Installation

  1. Install and activate DigiMail SMTP.
  2. Open DigiMail SMTP in the admin menu.
  3. Enter your email and the 6-digit code, or click Log in and connect if you already have a DigiMail account.
  4. Send a test email from the Test email tab.

If another SMTP plugin is active, import its settings from the Tools tab, then deactivate it.

FAQ

Do I need an SMTP server?

No. The plugin sends through the DigiMail API. A plain SMTP server is optional, as a backup.

Which address do my emails come from?

From the address you choose on a domain verified in your DigiMail account. Before you verify a domain, mail comes from a shared address like yourshop-vn@thongbao.digimail.vn and replies go to the email you connected with.

What happens if DigiMail is unreachable?

The message is kept in a local queue and retried automatically. If a backup SMTP server is set, the message is sent through it after two failed attempts.

Does the plugin keep a copy of my emails?

Messages that have not reached DigiMail are kept in a local table for up to 30 days so they can be retried. The send log itself is stored by DigiMail and read through the API.

A customer says they never got their order email. What do I do?

Open Email log, search for their address and open the message. The timeline shows whether the receiving server accepted it, bounced it or marked it as spam. Click Send again to send it to the same address, or choose To another address to send a copy somewhere else.

A real customer says the form did not send. What do I do?

Open Customers → Spam blocked, find the submission and click Not spam. The person is saved as a contact and their address is not blocked again. If a cache or optimisation plugin removes the plugin’s assets/guard.js script, exclude it from minifying and delaying.

Can I turn the spam guard off?

Yes, in Settings → Block form spam. For a custom form, add data-dms-guard to its <form> tag and call \DigiMailSMTP\Guard::check( 'my-form', 'Form name', $fields ) in your handler: it returns spam => true for bots. The verdict can be changed with the digimail_smtp_guard_verdict filter.

Can I manage several websites?

Yes. Connect every site to the same DigiMail account and manage them under Website WordPress on digimail.vn. Sites share the account’s quota.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“DigiMail SMTP – Email Log & Form Spam Guard” is open source software. The following people have contributed to this plugin.

Contributors
  • Mr Chí

Translate “DigiMail SMTP – Email Log & Form Spam Guard” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.6.0

  • New Email design tab: logo, colours, font and footer for WooCommerce emails, three templates, order status, progress bar, product pictures and a view or pay button. Optional design for plain-text WordPress emails. Live preview, before and after, computer or phone, and test sends.

2.5.1

  • Weekly summary email (on by default, can be turned off in Settings → Alerts).
  • After 50 emails delivered, a one-time request to review the plugin on WordPress.org, on the Dashboard and the plugin screen only.

2.5.0

  • Resend any email from the log, to its recipient or to another address.
  • New box on the WordPress Dashboard: emails sent in the last 7 days, delivery rate, failures and the month’s quota.
  • Readme: English names for the plugin’s tabs.

2.4.3

  • A notice on the Dashboard and Plugins screens when the DigiMail account has used 80% of its monthly emails, with a link to upgrade.
  • When an email fails because the sending limit is reached, the notice links to the upgrade page.

2.4.2

  • The twice-daily status check only sends what the service needs; extra diagnostics are opt-in (“Share diagnostics with DigiMail support”, off by default). The site admin email is no longer sent with it.
  • Spam guard: a form that claims the script ran but has no token is treated as forged; a missing token weighs more where tokens normally arrive.

2.4.1

  • Asking Akismet about doubtful form submissions is now off by default and never used for submissions that look normal.
  • Form values read by the spam guard are sanitized; stored keys and form fields use the plugin’s full prefix.

2.4.0

  • Settings: “Sending domain” verifies the website’s domain without leaving WordPress (records with copy buttons and live status, Cloudflare one-click, zone file).
  • Settings: “Alerts” by Telegram and email, with a test alert and the latest alerts.
  • Overview: the “Send from your own domain” card opens the in-plugin verification.

2.3.0

  • Form spam guard, on by default: bot submissions to Contact Form 7, WPForms, Elementor Pro, Fluent Forms, Gravity Forms, Ninja Forms, Formidable, Bricks and WooCommerce checkout are refused before any email is sent. Nothing for visitors to solve.
  • Customers tab: “Spam blocked” with the reason for each block and a “Not spam” button.
  • Emails triggered by visitors are checked by DigiMail before sending; refused recipients show as “Not sent (suspicious recipient)” in the log.

2.2.0

  • New Customers tab: who filled in which form, on which page and when, with counts per form, search and CSV export.

2.1.0

  • Save form contacts to DigiMail: people who fill in Contact Form 7, WPForms, Elementor Pro, Fluent Forms, Gravity Forms, Ninja Forms, Formidable or Bricks forms, and WooCommerce buyers, go into a DigiMail contact list (off until you turn it on).

2.0.4

  • Finds plugins that take over wp_mail() (a replaced wp_mail() or a pre_wp_mail filter) and names them on the overview, the test screen and Site Health.
  • When a test email fails without a reason, the plugin sends it straight through DigiMail to tell a DigiMail problem from a blocking plugin.

2.0.3

  • Plugin header: author is DIGITECH, with its own website.
  • Internal names of the update-email switches changed.
  • Requires WordPress 6.2 or later (safer database queries).

2.0.2

  • Translation ready: English source strings, Vietnamese translation included.
  • Dates and numbers follow the admin user’s language.

2.0.1

  • Accounts created from the plugin are active as soon as the email code is confirmed.
  • Links to the terms of service and privacy policy on the connect screen.

2.0.0

  • Rewritten from the ground up.
  • Quick start with email and a 6-digit code, no SMTP setup.
  • Connect an existing DigiMail account with one approval.
  • Email log with real delivery status and message preview.
  • Background sending, local retry queue and backup SMTP connection.
  • Email controls, importer for other SMTP plugins, Site Health and WP-CLI.

Meta

  • Version 2.6.0
  • Last updated 29 minutes ago
  • Active installations Fewer than 10
  • WordPress version 6.2 or higher
  • Tested up to 7.1.5
  • PHP version 7.4 or higher
  • Tags
    contact form spamemail logsmtptransactional emailwp-mail
  • Advanced View

Ratings

No reviews have been submitted yet.

Your review

See all reviews

Contributors

  • Mr Chí

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry