Mail servers and panels
Microsoft Exchange email validation integration
A transport agent lets Exchange Server check the outside recipients of the mail your users send, on the Transport service of each Mailbox server. Until you turn on its header or returning it only logs each result, and when a check cannot be made in time the message goes on unchanged.
Read the full setup guideGet an API key
- Setup guide
- One zip: the agent’s sources, its installer and its settings
# from the unpacked ev-exchange folder, run as administrator
.\install\Install-EvAgent.ps1
Get-TransportAgent "email-validation.org recipient check"At a glance.
- Status
- Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- For
- Exchange administrators who run Exchange Server on premises, or route their Exchange Online mail through it, and want to see, and if they choose return, the mail addressed to mailboxes that do not exist.
- You need
- An Exchange Server SE Mailbox server you administer, a Windows machine with .NET 8 or later to build the agent against your server’s own Exchange assemblies, and an API key made for it, with a daily credit cap.
- Costs
- 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org, addresses on reserved domains such as example.com and, in a bulk list, repeats of an address (charged once).
- Full guide
- Read the full setup guide
Typical uses.
See who mails dead addresses
The default log mode writes one line per checked recipient with its status and reason, so you learn which senders reach addresses that do not exist before you change anything.
Tag for your mail flow rules
With
header = yes, each checked message carries anX-EV-Recipient-Statusheader with its recipients’ statuses (never an address), for a mail flow rule of yours to act on.Return what cannot arrive
With return_invalid = yes, a recipient whose result is invalid is removed and Exchange sends the sender a non-delivery report naming it. Each removal is logged, and the other recipients still get the message.
Set it up. 4 steps.
The short version of the full setup guide, which stays the reference when a step does not match what you see.
Download the zip and make a key
Download ev-exchange-1.0.0.zip from the guide, which unpacks into a folder ev-exchange/. Create an API key for Exchange with Validate addresses and a daily credit cap.
Build the agent
Copy
Microsoft.Exchange.Data.Common.dllandMicrosoft.Exchange.Data.Transport.dllfrom your server’s Exchange folder intoagentliband rundotnet build. Microsoft’s files are never in our zip.Install it
In the Exchange Management Shell, run as administrator, run
.installInstall-EvAgent.ps1and paste the key at the prompt (it is not shown). It installs and enables the agent and restarts the Transport service.Check it on a test server
Get-TransportAgentshows it enabled, and its log says it started. Try the modes on a test server first: never send a message to a test address from a production server, as the bounce hurts your sender.
Good to know.
Only mail your users send is checked, and only its recipients outside your organization: Exchange’s address book decides what is inside, plus any domains you list. Mail from outside and delivery reports are never checked.
Exchange Online cannot run transport agents. Its mail reaches the agent only through an on-premises Exchange server, with centralized mail transport in a hybrid deployment or a mail flow rule and a connector; the guide shows both.
A check with no answer after a few seconds finishes in the background for the next message, and any error, or settings it cannot use, lets the message go on unchanged.
Its own cache, a limit per sender, a limit per message, a daily limit for all senders together and the key’s daily credit cap bound what it spends; all but the last can be changed in its settings file. An answer from the cache costs nothing.
It sends only each outside recipient’s address, in the body of a request, never in a URL. Its cache holds keyed hashes, and its log never holds the key.
region = eusends the checks to our EU host.To switch it off at once, run
Disable-TransportAgentand restart the Transport service: Exchange goes on delivering as before.
Connect Microsoft Exchange.
Test it on our sandbox addresses for free, then on your own contacts.
Updated · Maintained by: Email Validation LLC