Requirements
- WordPress 6.4 or later and PHP 7.4 or later.
- WP-Cron running (it is by default). On busy sites, or if your host disables WP-Cron, ask your host to call
wp-cron.phpevery five minutes. - Optional: WooCommerce, to add products to your emails.
- Recommended: an email delivery service (Brevo, Mailgun, SendGrid or Amazon SES) or an SMTP plugin.
Installation & licence
- In WordPress, go to Plugins → Add New Plugin → Upload Plugin, choose
mighty-mail.zip, click Install Now and then Activate. - Open Mighty M.A.I.L. in the admin menu and enter the purchase code from your WPBay order. Each code activates the number of sites included in your licence.
- Updates then appear on the normal WordPress Plugins screen.
Setup wizard
The wizard opens after activation (or from the Start setup banner on the dashboard). It takes about two minutes:
Delivery service
By default, emails are sent through WordPress. Many web hosts send mail straight from the server, where it often ends up in spam, so connect a delivery service under Settings → Delivery:
| Service | What you need | Good to know |
|---|---|---|
| Brevo | API key | Generous free plan; a good first choice. |
| Mailgun | API key and sending domain | EU region available. |
| SendGrid | API key | — |
| Amazon SES | Access key ID, secret and region | Lowest cost for large lists. |
| WordPress / SMTP plugin | An SMTP plugin such as WP Mail SMTP | Uses whatever mailer your site already has. |
Set Emails per hour and Emails per batch within your provider's limits; large lists go out gradually every five minutes. Then use Settings → Tools → Send a delivery test.
Use a From address on your own domain (for example news@yourbusiness.com) and set up SPF and DKIM for it with your delivery service; this is what keeps emails out of spam.
Sign-up forms
- Shortcode or block: design a form on the Forms page (card, inline or minimal; heading, text, button and list) and paste the shortcode into any page, or use the Newsletter sign-up block.
- Pop-up or corner box: shown after a few seconds, when visitors scroll, or when they're about to leave. It's shown once, hidden for the number of days you choose, never shown to subscribers, and skipped on pages that already have a form.
- In-store poster: print an A4 poster with a QR code to your sign-up page, or download the QR code as a PNG.
- Spam protection: every form has a hidden trap field and a signed form token that works once. Sign-up attempts are counted per visitor, browser, session, email address and for the whole site; anyone who goes over a limit is blocked for 1 minute, then 2, 4, 8… up to a day. Repeat attempts, visitors without the security cookie and busy periods must pass an automatic “are you a robot?” check, solved by the visitor's browser in about a second (or Cloudflare Turnstile, if you add free keys under Settings → Subscriptions). Visitors need JavaScript turned on to sign up. If your site is behind a proxy such as Cloudflare, ask your developer to pass the visitor's real IP with the
mmail_client_ipfilter. - Existing subscribers and confirmation links: a sign-up form gives the same reply for every address and never emails people who are already subscribed (they change their lists from “Manage preferences” in any email). Confirmation links work once and expire after 48 hours. Someone who unsubscribed gets a confirmation email if they sign up again, but never within 24 hours of leaving and at most 3 times in 30 days.
- Privacy: sign-up IP addresses are stored anonymised, and the anti-spam counters keep only scrambled values for two days. The suggested privacy-policy text (Settings → Privacy) explains this.
Creating a campaign
- Go to Campaigns → New campaign and choose a template.
- Write a subject line (under 60 characters) and preview text. Use
{name}to greet people by first name. - Click any block in the email to edit it, or add blocks from the panel on the right: heading, text, image, button, two columns, product, product grid, voucher, blog post, divider and spacer.
- Choose who receives it: everyone, a list, or a smart audience (active readers, inactive readers, new subscribers).
- Click Send test, check it on your phone, then Review & send.
Product grids that fill themselves
With WooCommerce, a product grid can show products you pick, the newest products, products on offer, or products from a category. Automatic grids update every time you create a campaign from the template.
Before you send
The checklist under the email flags missing subject lines, empty images, links to example.com, unpublished products and missing vouchers. Scheduled campaigns wait for a five-minute safety hold, during which you can still cancel from the campaign list.
Header and footer
Your logo, colours, address, phone and opening hours are added to every email from Settings → Sender & brand, together with the unsubscribe and preferences links.
Automations
- Someone confirms their subscription (double opt-in) or Someone subscribes (single opt-in): a welcome email or a series.
- Someone stops opening emails: checked once a day for subscribers who allowed tracking and haven't opened in 90 days. Each person enters once. Ideal for a “We miss you” email with a voucher.
Write emails as plain text (line breaks become paragraphs) or HTML. Use {name}, {first_name}, {email} and {voucher:ID}.
In-store vouchers
- Under Vouchers → New offer, describe the offer, add conditions, and choose Unique per subscriber (one code per person, single use) or One shared code. Set how long it's valid.
- Add it to a campaign with the Voucher block, or to an automation email with
{voucher:ID}. - Customers show the email at the till. Open Vouchers, type or scan the code and click Redeem. Used and expired codes are clearly flagged.
Staff with the Editor or Shop manager role can use the till screen without access to the rest of the plugin. Campaign reports show how many vouchers were used in store.
Subscribers & lists
- Import: upload a CSV with an
emailcolumn (optional:first_name,last_name,status,tracking_consent). Only import people who agreed to receive your emails. - Lists: public lists can be chosen by subscribers on their preferences page; private lists are for you only.
- Bulk actions: resend confirmation emails, change status, add to or remove from lists, or erase.
Reports
Each campaign shows deliveries, open rate, click rate, click-to-open, top links, product interest and vouchers used. Opens and clicks are only measured for subscribers who allowed it, and some email apps block open tracking, so real engagement is usually higher. Statistics older than the retention period (365 days by default) are deleted automatically.
Connect your delivery service's webhook (Settings → Integrations) so that bounced and complaining addresses are unsubscribed automatically.
Privacy & GDPR
- Double opt-in with a consent record (date and IP address) for every subscriber.
- Open and click tracking only for subscribers who tick the optional box.
- Every email has a preferences link (update details, choose lists, download data) and one-click unsubscribe.
- Tools → Export Personal Data and Erase Personal Data include newsletter data; erasing removes the subscriber, their activity, vouchers and bounce records.
- Settings → Privacy includes suggested text for your privacy policy.
- No usage statistics are sent from your site.
Languages
The plugin follows your site language (Settings → General → Site Language). It includes English and Spanish (Spain). To translate into another language, use languages/mighty-mail.pot with a tool such as Poedit, or Loco Translate, and save the files as mighty-mail-xx_XX.po/.mo.
Shortcodes & blocks
| Shortcode | Attributes |
|---|---|
[mighty_mail_form] | style (card, inline, minimal), title, description, button, list (list ID), show_name (true/false), placeholder |
[mighty_mail_archive] | limit (default 24) |
Blocks: Newsletter sign-up and Newsletter archive.
Email tokens: {name}, {first_name}, {email}, {unsubscribe_url}, {profile_url}, {web_url}, {voucher:ID}.
For developers
REST API
Base: /wp-json/mighty-mail/v1. Find your API key and webhook secret under Settings → Integrations.
| Endpoint | Purpose | Auth |
|---|---|---|
POST /subscribe | Public sign-up (used by the forms) | — |
GET /subscribers | Latest 100 subscribers | X-MightyMail-Key |
POST /subscribers | Add a subscriber | X-MightyMail-Key |
POST /subscribers/{id}/unsubscribe | Unsubscribe | X-MightyMail-Key |
POST /webhook | Bounce and complaint events | X-MightyMail-Signature: sha256=… (HMAC-SHA256 of the raw body) |
Filters
// Replace delivery (return true/false to skip the built-in sender).
add_filter('mmail_mailer_send', function ($result, $to, $subject, $body, $headers) { return $result; }, 10, 5);
// Days without opening before someone counts as inactive (default 90).
add_filter('mmail_inactive_days', function () { return 120; });
// Turn product blocks on or off regardless of WooCommerce.
add_filter('mmail_products_enabled', '__return_false');
The plugin ships a phpcs.xml.dist for the WordPress coding standards.
Troubleshooting
Emails aren't being sent
Check Dashboard → Sending status. If the queue isn't moving, WP-Cron may be disabled: ask your host for a real cron job calling wp-cron.php every five minutes. Then run Settings → Tools → Send a delivery test.
Emails go to spam
Connect a delivery service, send from an address on your own domain, and set up SPF and DKIM. Avoid subject lines in capitals and image-only emails.
Nobody receives the confirmation email
Same as above; also check the subscriber's spam folder. You can resend confirmations in bulk from Subscribers.
The pop-up doesn't appear
It isn't shown to subscribers, on pages that already have a form, or again within the “show again after” period. Use Preview pop-up on the site on the Forms page to see it.
Support
Questions or problems? Use the Support or Contact page inside the plugin menu, or contact Mallorca Tech through WPBay. Please include your WordPress and PHP versions and the plugin version (shown under Settings → Tools).