Address verification: check an audience's emails before sending
Describes Newsletters 0.10.0. On an older release? The version menu above has this guide as it was then.
The Address verification page checks every address a broadcast audience would mail and sorts them into valid, invalid and uncertain, so you can clean a list before sending to it.
Where to find it
In the admin sidebar, open Newsletters, then Address verification (/admin/newsletters/verification). You need the See recipients permission, which sits under Newsletters in a role’s permissions.
The page needs a verification engine supplied by your site; PhoenixKit Newsletters doesn’t ship one. Without one, the page only shows a notice that the engine is not available. If the engine is switched off, it says Address verification is switched off.
Checking an audience
- Under Audience, choose Roles and tick roles (shown by their name in your language), or CRM list and pick a list (CRM list appears only when the CRM module is installed). The audience is worked out the same way a send works it out.
- The page shows how many sendable addresses there are. Click Verify the list.
- While it runs, a bar shows Verifying: … of …. You can leave the page; the check runs in the background.
When an engine checks mail servers directly, some addresses can wait for that step, and the page says so.
Reading the results
The counters show Valid, Invalid, Temporary problem, Not sure and Not checked. Click one to filter the table to it, or use the status menu.
The table lists each Email with its Status, the Reason, Flags (Free for a free mail provider, Role for an address like info@, Disposable for a throwaway address) and when it was Checked.
Under the table, a footer says how many rows are shown and offers the page buttons and Rows per page: 10, 25, 50, 100 or Auto, which fits as many rows as the screen holds. The default is 25. Your choice is remembered for you and applies to every admin list with this picker. The audience, the status filter, the page and the page size are all in the page’s address, so a filtered view can be bookmarked or shared.
What it doesn’t do
- It doesn’t change the audience or block anyone from receiving a broadcast. Remove or fix addresses in the CRM or the user accounts yourself.
- It doesn’t check addresses that are already unsubscribed or without an email.
For developers
Point the module at your engine in config/config.exs:
config :phoenix_kit_newsletters, :email_verification_engine, MyApp.AddressVerification
The engine implements PhoenixKit.Newsletters.VerificationEngine. If the Oban queue the engine uses isn’t configured, the page warns that a started batch would never run.