Send WordPress and WooCommerce emails through Veil Mail — with automatic PII protection, CASL compliance, and full delivery tracking. Routes wp_mail(), WooCommerce transactional emails, password resets, and contact form submissions through the Veil Mail API.
Use this if you run a WordPress or WooCommerce site and want real email deliverability and compliance. Replaces WordPress's unreliable PHP
mail()and plugins like WP Mail SMTP that just forward through SendGrid, Mailgun, or Postmark. Veil Mail adds automatic PII scanning (customer addresses, payment info, health data), CASL/GDPR consent tracking, and rich delivery analytics — features no other WordPress email plugin offers.Drop-in alternative to: WP Mail SMTP + Mailgun · FluentSMTP + SendGrid · Post SMTP + Postmark. Configure once in Settings → Veil Mail and all plugin emails (Contact Form 7, WPForms, Gravity Forms, WooCommerce, Easy Digital Downloads, MemberPress) route through Veil Mail automatically.
Related: Veil Mail product · Node.js SDK · Migration guides
- Drop-in
wp_mail()override — every email sent by WordPress core, plugins, and themes routes through Veil Mail automatically - WooCommerce support — order confirmations, shipping notifications, refund notices, and customer account emails
- Automatic PII protection — every email is scanned by Google Cloud DLP for SSNs, credit cards, medical records, and other sensitive data before delivery
- CASL / GDPR compliance — consent tracking, subscription topic management, and compliant unsubscribe handling baked in
- Block editor integration — Gutenberg blocks for signup forms and email templates
- Delivery analytics — view open rates, click tracking, and bounce reasons from the WordPress admin
- Multisite ready — per-site or network-wide configuration
- Go to Plugins → Add New in your WordPress admin
- Search for Veil Mail
- Click Install Now, then Activate
- Go to Settings → Veil Mail and enter your API key (
veil_live_xxxxx)
- Download the latest release from this repo
- Upload
veil-mailfolder to/wp-content/plugins/ - Activate through Plugins in WordPress admin
- Configure in Settings → Veil Mail
cd wp-content/plugins
git clone https://github.com/Resonia-Health/veilmail-wordpress.git veil-mailAfter activation, go to Settings → Veil Mail:
| Setting | Required | Description |
|---|---|---|
| API Key | Yes | Your Veil Mail API key (veil_live_ for production, veil_test_ for testing) |
| From Address | Yes | Default sender address (must be on a verified domain) |
| From Name | Yes | Default sender name |
| PII Policy | No | block (default) or redact |
| Enable WooCommerce | No | Route WooCommerce transactional emails through Veil Mail |
- WordPress 6.0+
- PHP 8.0+
- A Veil Mail account — sign up free at veilmail.xyz
GPLv2 or later — see LICENSE for details.