Keep your ActiveCampaign contacts clean. MailTester Ninja checks each address against the recipient's mail server, without sending any email, and writes the verdict into two custom contact fields. You can then leave invalid addresses out of your campaigns and automations, keep your bounce rate low and protect your sender reputation. Verify every new contact automatically, or clean an existing list in one pass.
Listed in the ActiveCampaign Apps marketplace
MailTester Ninja has its own listing in the ActiveCampaign Apps marketplace, with this guide as its setup documentation.
What you need
- An ActiveCampaign account, on any plan.
- A MailTester Ninja key: a free API token to try it (50 checks a day, one request every 30 seconds) or a paid key for whole lists.
- For the automatic check, one of our official apps: Make, Zapier or n8n.
Step 1: add two custom fields in ActiveCampaign
In ActiveCampaign, open Contacts, then Fields, and add two fields of type Text input:
- MT Code: the verdict code,
ok,koormb. - MT Verdict: the detailed status, for example Accepted, Rejected, Catch-All or Disposable.
Step 2: verify every new contact automatically
Pick the tool you already use. Each option runs when a contact is added in ActiveCampaign, from a form, an import, a sync or the API, verifies the address and saves the verdict on the contact.
With Make (works on the free Make plan)
- Install the MailTester Ninja app in your Make organization from our invite link.
- Create a scenario that starts with the ActiveCampaign module Watch Contacts, set to new contacts.
- Add the MailTester Ninja module Verify an email address, connect your key, and map Email address to the contact's email.
- Add the ActiveCampaign module that updates a contact, select the contact from the first module, and map MT Code to Result code and MT Verdict to Verdict.
- Run the scenario once to test it, then turn it on.
With Zapier
- Add the MailTester Ninja app to your Zapier account from our invite link.
- Create a Zap with the ActiveCampaign trigger New Contact.
- Add the MailTester Ninja action Verify Email, sign in with your key, and map Email to the contact's email.
- Add the ActiveCampaign action Create or Update Contact with the same email, and fill MT Code with Code (ok, ko or mb) and MT Verdict with Verdict.
- Test each step, then publish the Zap. A Zap with three steps needs a Zapier plan that allows multi-step Zaps.
With n8n
- Install our node from the nodes panel: search for MailTester Ninja, then click Install (details on our n8n page).
- Start the workflow with the ActiveCampaign Trigger node, event contact_add.
- Add the MailTester Ninja node, operation Verify, with the contact's email.
- Add the ActiveCampaign node, resource Contact, operation Update, and set the two custom fields to
codeandmessage. - Activate the workflow.
Step 3: use the verdict in ActiveCampaign
Build a segment on MT Code and exclude it from your campaigns, or add an If/Else step on MT Code in your automations.
| MT Code | Meaning | What to do in ActiveCampaign |
|---|---|---|
ok | Valid and deliverable | Keep the contact in your campaigns and automations. |
ko | Invalid, will bounce | Exclude the segment from your campaigns, end the automation, or unsubscribe the contact. |
mb | Uncertain (catch-all domain, server could not be probed) | Send to them after your valid contacts, in smaller batches, and drop those that never engage. |
Clean an existing ActiveCampaign list
- In ActiveCampaign, open Contacts, select the contacts of the list and export them as a CSV file.
- Drop the file on the MailTester Ninja verifier with a paid key, wait for the results, then click Save.
- Open the saved file, delete the explanation lines at the top (everything above the first address), and add this first line:
Email,Name,Domain,MX,MT Code,MT Verdict. - In ActiveCampaign, import the file into the same list, map Email, MT Code and MT Verdict, skip the other columns, and choose to update existing contacts.
- Build the segment from step 3 and exclude
kobefore your next campaign.
Developers can do the same through the APIs: read the contacts with GET https://YOUR_ACCOUNT.api-us1.com/api/3/contacts, verify each address with https://happy.mailtester.ninja/ninja?email=ADDRESS&key=YOUR_KEY, then write the verdict with POST /api/3/fieldValues and the body {"fieldValue":{"contact":ID,"field":FIELD_ID,"value":"ko"}}. Keep about one request per second on a paid key (11 requests per 10 seconds on Pro).
Keep your keys secret
Store your MailTester Ninja key in the Make, Zapier or n8n connection rather than in a module field, so an exported scenario or workflow never contains it.
Questions
Does the check send an email to my contacts?
No. MailTester Ninja talks to the recipient's mail server and stops before any message is sent.
Is anything stored?
No. Each address is checked in real time and we keep no copy of the addresses you verify.
How many contacts can I verify?
A free API token allows 50 checks a day. Paid plans allow 100,000 checks a day from $6.99 a week, and more with a higher quantity at checkout.
Try it now
Get a free API token, or see the plans for up to 200,000 checks a day. Full reference: API documentation and OpenAPI specification. Back to all integrations.
