Email Verification for Signup Forms: Block Disposable and Typo Addresses
Disclosure: this post was written by the Verifly team (verifly.email). Verifly is an email verification API and is not affiliated with verifly.com, the drone insurance company. Pricing is as of December 2026. A signup f
Disclosure: this post was written by the Verifly team (verifly.email). Verifly is an email verification API and is not affiliated with verifly.com, the drone insurance company. Pricing is as of December 2026.
A signup form that only tests whether a string looks like an email will store addresses that cannot receive mail. Two common cases are typo domains (gmial.com, a missing letter in a company name) and disposable inboxes created to get past the form. Both look fine to a regex. Both become a problem later: the typo hard-bounces, and the disposable address vanishes before you can reach the person.
The fix is to verify the address when the form is submitted, then show a clear error so the person can correct it. This is about addresses people type into your own form. It is not a reason to buy email lists.
What the check should decide
You want a structured verdict, not a single true/false flag. Verifly documents GET /api/v1/verify?email= (docs, OpenAPI). The response includes result (deliverable, undeliverable, risky, or unknown), recommendation (safe_to_send, risky, or do_not_send), and a details object with flags such as is_disposable, is_catch_all, and is_role_account. Keep the API key on your server.
A practical signup policy:
- Accept only when
resultisdeliverable,recommendationissafe_to_send, anddetails.is_disposableis false. - If the address is
undeliverableordo_not_send, ask the user to correct it. Typo domains usually fail here because the domain does not exist or cannot receive mail. - If
details.is_disposableis true, reject it even if the inbox works today, and ask for a durable address. - If the result is
risky(often a catch-all domain) orunknown(a timeout or a provider that will not confirm the mailbox), do not treat that as a typo. Hold the signup for a second step, or retry once. Auto-rejecting unknowns blocks real people.
Do not decide from is_valid alone. A disposable inbox and a catch-all domain can both look valid in a narrow sense.
A short server-side example
export async function checkSignupEmail(email) {
const url = "https://verifly.email/api/v1/verify?" + new URLSearchParams({ email });
const res = await fetch(url, {
headers: { Authorization: "Bearer " + process.env.VERIFLY_API_KEY },
signal: AbortSignal.timeout(15000),
});
if (!res.ok) throw new Error("verify failed: " + res.status);
const data = await res.json();
if (data.details?.is_disposable) {
return { ok: false, message: "Please use a lasting email address, not a temporary inbox." };
}
if (data.result === "undeliverable" || data.recommendation === "do_not_send") {
return { ok: false, message: "That address cannot receive mail. Please check for a typo." };
}
if (data.result === "deliverable" && data.recommendation === "safe_to_send") {
return { ok: true };
}
return { ok: "review", message: "We could not confirm that inbox. Please try again or use another address." };
}
A small client-side hint for common typos (gmial.com to gmail.com) can still help before the request, but it is not a substitute for the API check, and Verifly does not return a typo-suggestion field.
DNS is a useful extra, not the whole check
The free MX Lookup shows whether a domain publishes mail exchangers. A null MX of . with priority 0 (RFC 7505) means the domain accepts no mail. If there is no MX at all, RFC 5321 tells senders to fall back to an A or AAAA record. DNS cannot tell typo mailboxes from real ones on a healthy domain, and it cannot flag a disposable inbox that has valid MX, so use it as a first look, not as the signup gate.
If you are building an assistant that collects emails, Verifly also hosts an MCP server at verifly.email/mcp.
Pricing (December 2026)
New accounts get 100 free credits. Packs are one-time: $10 for 5,000, $29 for 25,000, $99 for 100,000, $199 for 250,000, $349 for 500,000 and $499 for 1,000,000. There is no subscription, and credits never expire. Risky and unknown results do not use a credit, so a catch-all or an inconclusive check at signup does not spend the pack.
Wire the check behind the form, return a specific error, and only create the account when the address is safe to keep.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.