[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"content:en:blog\u002Fhow-to-verify-an-email-address":3},{"path":4,"locale":5,"section":6,"title":7,"description":8,"html":9,"headings":10,"faq":52,"updated":74,"order":21,"words":75,"meta":76},"blog\u002Fhow-to-verify-an-email-address","en","blog","How to verify an email address: syntax, domain, MX, SMTP and catch-all","How email verification works, step by step: syntax rules from RFC 5321 and 5322, DNS and MX records, the SMTP mailbox check, and catch-all detection.","\u003Cp>To verify an email address, check it in five steps: the syntax against RFC 5322 and RFC 5321, the domain in DNS, the domain's MX records, the mailbox itself by asking the mail server over SMTP without sending a message, and finally a random address on the same domain to detect a catch-all server. Each step catches something the previous one cannot. None of them replaces a confirmation email when you need proof that a person reads the inbox.\u003C\u002Fp>\n\u003Ch2 id=\"the-five-checks-at-a-glance\">The five checks at a glance\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Step\u003C\u002Fth>\n\u003Cth>Question\u003C\u002Fth>\n\u003Cth>Standard\u003C\u002Fth>\n\u003Cth>What a failure looks like\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>1. Syntax\u003C\u002Ftd>\n\u003Ctd>Is the address well formed?\u003C\u002Ftd>\n\u003Ctd>RFC 5322, RFC 5321\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>jane@@example.com\u003C\u002Fcode>, \u003Ccode>jane@example\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>2. Domain\u003C\u002Ftd>\n\u003Ctd>Does the domain exist?\u003C\u002Ftd>\n\u003Ctd>DNS (RFC 1034, RFC 1035)\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>jane@exmaple-mail.invalid\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>3. MX\u003C\u002Ftd>\n\u003Ctd>Does the domain accept mail, and where?\u003C\u002Ftd>\n\u003Ctd>RFC 5321 section 5, RFC 7505\u003C\u002Ftd>\n\u003Ctd>A domain with no mail servers, or a null MX\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>4. Mailbox\u003C\u002Ftd>\n\u003Ctd>Does the mail server accept this recipient?\u003C\u002Ftd>\n\u003Ctd>RFC 5321, reply codes and RFC 3463 status codes\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>550 5.1.1 User unknown\u003C\u002Fcode>\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>5. Catch-all\u003C\u002Ftd>\n\u003Ctd>Does the server accept every recipient, real or not?\u003C\u002Ftd>\n\u003Ctd>Same exchange, with a random address\u003C\u002Ftd>\n\u003Ctd>The random address is accepted too\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>The order matters. Each step is cheaper than the next, and each failure stops the chain: there is no point asking a mail server about a domain that does not exist.\u003C\u002Fp>\n\u003Ch2 id=\"step-1-syntax\">Step 1: syntax\u003C\u002Fh2>\n\u003Cp>RFC 5322 defines what an address looks like: a local part, an \u003Ccode>@\u003C\u002Fcode>, a domain. RFC 5321, the SMTP standard, adds the limits that matter when mail actually travels.\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Lengths.\u003C\u002Fstrong> The local part can have 64 octets and the domain 255. The whole path is capped at 256 octets including the angle brackets around it in SMTP commands, which leaves 254 characters for an address.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Case.\u003C\u002Fstrong> RFC 5321 says the local part may be case-sensitive, so a server could treat \u003Ccode>Jane\u003C\u002Fcode> and \u003Ccode>jane\u003C\u002Fcode> differently. In practice almost none do, but a verifier should not rewrite the local part. Domain names are never case-sensitive.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Characters.\u003C\u002Fstrong> The unquoted local part allows letters, digits and a set of symbols including \u003Ccode>.\u003C\u002Fcode>, \u003Ccode>+\u003C\u002Fcode>, \u003Ccode>-\u003C\u002Fcode>, \u003Ccode>_\u003C\u002Fcode> and \u003Ccode>'\u003C\u002Fcode>. Dots cannot start or end it, or appear twice in a row.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>Some addresses look wrong and are right:\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Address\u003C\u002Fth>\n\u003Cth>Valid?\u003C\u002Fth>\n\u003Cth>Why\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>jane+news@example.com\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003Ctd>Subaddressing (RFC 5233). It reaches Jane's inbox with a tag.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>o'brien@example.com\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Yes\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>'\u003C\u002Fcode> is allowed in the local part.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>&quot;jane doe&quot;@example.com\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Yes, but rare\u003C\u002Ftd>\n\u003Ctd>A quoted local part may hold spaces. Many systems refuse it anyway.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>jane..doe@example.com\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>No\u003C\u002Ftd>\n\u003Ctd>Two dots in a row outside quotes.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>.jane@example.com\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>No\u003C\u002Ftd>\n\u003Ctd>A dot cannot start the local part.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>jane@example\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Syntactically, maybe; usefully, no\u003C\u002Ftd>\n\u003Ctd>A bare name is not a domain anyone can deliver public mail to.\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Two more details. Browsers check \u003Ccode>type=&quot;email&quot;\u003C\u002Fcode> fields with a pattern the WHATWG HTML standard calls a &quot;willful violation&quot; of RFC 5322: simpler and stricter in places, so it is a good first filter and not a reference. And addresses with non-ASCII characters exist: internationalized domains are converted to ASCII under IDNA, and RFC 6531 extends SMTP for non-ASCII local parts, which not every server supports.\u003C\u002Fp>\n\u003Ch3 id=\"catch-typos-before-you-judge-the-address\">Catch typos before you judge the address\u003C\u002Fh3>\n\u003Cp>The most common bad address is not malformed at all. \u003Ccode>jane@gmial.com\u003C\u002Fcode> passes every syntax rule. A verifier that compares the domain with common providers can suggest \u003Ccode>jane@gmail.com\u003C\u002Fcode>. In the API that suggestion is the \u003Ccode>did_you_mean\u003C\u002Fcode> field. Show it as a question with a one-click fix, and never apply it silently: some people really do use unusual domains.\u003C\u002Fp>\n\u003Cp>The free \u003Ca href=\"\u002Ftools\u002Femail-syntax-checker\">email syntax checker\u003C\u002Fa> shows which rule an address breaks.\u003C\u002Fp>\n\u003Ch2 id=\"step-2-the-domain-exists\">Step 2: the domain exists\u003C\u002Fh2>\n\u003Cp>A DNS query for the domain either finds it or returns NXDOMAIN, the DNS answer for &quot;no such name&quot;. A domain that does not exist cannot receive mail, so the verdict is final: \u003Ccode>undeliverable\u003C\u002Fcode> with the reason \u003Ccode>domain_not_found\u003C\u002Fcode>.\u003C\u002Fp>\n\u003Cp>A typo domain can exist, though. Some are registered by people who hope to collect misdirected mail. That is why the \u003Ccode>did_you_mean\u003C\u002Fcode> check looks at spelling and does not rely on DNS alone.\u003C\u002Fp>\n\u003Ch2 id=\"step-3-mx-records\">Step 3: MX records\u003C\u002Fh2>\n\u003Cp>A domain says where its mail goes with MX records. Each one names a mail server and a preference number; senders try the lowest number first.\u003C\u002Fp>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-bash\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">dig\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> +short\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> MX\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> example.com\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>10 mx1.example.com.\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>20 mx2.example.com.\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The output above is illustrative. Three situations need care:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>No MX record.\u003C\u002Fstrong> RFC 5321 section 5.1 lets senders fall back to the domain's own address record, an &quot;implicit MX&quot;. Few domains that want mail rely on it. The API applies the stricter rule and treats such a domain as unable to receive mail: \u003Ccode>domain_no_mx\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A null MX.\u003C\u002Fstrong> RFC 7505 defines a single MX record with preference 0 and the target \u003Ccode>.\u003C\u002Fcode> as a declaration that the domain accepts no mail at all. The verdict is \u003Ccode>domain_null_mx\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>A DNS failure.\u003C\u002Fstrong> If the domain's name servers do not answer, nothing is known. The API returns \u003Ccode>unknown\u003C\u002Fcode> with \u003Ccode>dns_error\u003C\u002Fcode>, does not bill the call, and does not cache the result.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The free \u003Ca href=\"\u002Ftools\u002Fmx-lookup\">MX lookup\u003C\u002Fa> shows the mail servers of any domain, null MX records included.\u003C\u002Fp>\n\u003Ch2 id=\"step-4-the-smtp-mailbox-check\">Step 4: the SMTP mailbox check\u003C\u002Fh2>\n\u003Cp>This is the step that tells a real mailbox from a typo on a real domain. The verifier connects to the domain's mail server on port 25 and starts an ordinary delivery:\u003C\u002Fp>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>S: 220 mx.example.com ESMTP ready\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>C: EHLO probe.example.net\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>S: 250 mx.example.com\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>C: MAIL FROM:&#x3C;verify@probe.example.net>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>S: 250 2.1.0 OK\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>C: RCPT TO:&#x3C;jane@example.com>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>S: 250 2.1.5 OK\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>C: QUIT\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>S: 221 2.0.0 Bye\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>The answer to \u003Ccode>RCPT TO\u003C\u002Fcode>, the command that names the recipient, is the verdict. The verifier then quits. It never sends \u003Ccode>DATA\u003C\u002Fcode>, so no message exists and the owner sees nothing.\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Reply to \u003Ccode>RCPT TO\u003C\u002Fcode>\u003C\u002Fth>\n\u003Cth>Meaning\u003C\u002Fth>\n\u003Cth>Verdict\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>250\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Recipient accepted\u003C\u002Ftd>\n\u003Ctd>Deliverable, pending the catch-all test\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>550 5.1.1\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>No such mailbox\u003C\u002Ftd>\n\u003Ctd>Undeliverable\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>552\u003C\u002Fcode> or \u003Ccode>5.2.2\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Mailbox over its quota\u003C\u002Ftd>\n\u003Ctd>Risky: the mailbox exists but cannot take mail now\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>450\u003C\u002Fcode> or \u003Ccode>451\u003C\u002Fcode>, retry later\u003C\u002Ftd>\n\u003Ctd>Temporary refusal, often greylisting (RFC 6647)\u003C\u002Ftd>\n\u003Ctd>Unknown: check again later\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>5.7.x\u003C\u002Fcode> naming a policy or blocklist\u003C\u002Ftd>\n\u003Ctd>The server refuses the check itself\u003C\u002Ftd>\n\u003Ctd>Unknown, not undeliverable\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Codes like \u003Ccode>5.1.1\u003C\u002Fcode> are the enhanced status codes of RFC 3463: the first digit gives the class, 2 for success, 4 for a temporary failure, 5 for a permanent one.\u003C\u002Fp>\n\u003Ch3 id=\"why-not-just-use-vrfy\">Why not just use VRFY?\u003C\u002Fh3>\n\u003Cp>SMTP has a command made for the question, \u003Ccode>VRFY\u003C\u002Fcode>. RFC 5321 section 7.3 notes that sites may disable it for security reasons, and most servers on the public internet answer it with nothing useful. \u003Ccode>RCPT TO\u003C\u002Fcode> is the question servers still answer, because refusing it would break their own mail.\u003C\u002Fp>\n\u003Ch3 id=\"why-you-should-not-run-this-from-your-app-server\">Why you should not run this from your app server\u003C\u002Fh3>\n\u003Cp>The mailbox check looks simple, but the network around it is not. Many hosting platforms block outbound port 25 by default to fight spam. Mail servers judge the reputation of the connecting IP address, and an address that probes many domains can end up on blocklists, which then hurts any real mail sent from it. Some servers greylist first contacts and only answer properly on a retry minutes later. A verification service runs the probe from infrastructure built for it, and caches answers so the same mailbox is not asked over and over.\u003C\u002Fp>\n\u003Ch2 id=\"step-5-the-catch-all-test\">Step 5: the catch-all test\u003C\u002Fh2>\n\u003Cp>A \u003Ccode>250\u003C\u002Fcode> only means something if the server would say no to an address that does not exist. So the verifier also asks about a random address on the same domain:\u003C\u002Fp>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-text\">\u003Cspan class=\"line\">\u003Cspan>C: RCPT TO:&#x3C;5f2c9a81d04e7b36c1x@example.com>\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>S: 550 5.1.1 User unknown\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>Rejected: the server checks recipients, and its yes for \u003Ccode>jane@\u003C\u002Fcode> was real. If the server accepts the random address too, it accepts everything, and the result is \u003Ccode>risky\u003C\u002Fcode> with the reason \u003Ccode>catch_all\u003C\u002Fcode>. Some providers accept or block every probe for every domain they host; for those the result is \u003Ccode>unknown\u003C\u002Fcode> with \u003Ccode>provider_unverifiable\u003C\u002Fcode>, because a yes would mean nothing either way. \u003Ca href=\"\u002Fblog\u002Fcatch-all-email\">Catch-all email\u003C\u002Fa> covers how to treat both.\u003C\u002Fp>\n\u003Ch2 id=\"three-more-signals-worth-reading\">Three more signals worth reading\u003C\u002Fh2>\n\u003Cp>Verification is also the moment to classify the address:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Disposable.\u003C\u002Fstrong> The domain belongs to a temporary inbox service. Detected from a list, without the mailbox check. See \u003Ca href=\"\u002Fblog\u002Fdisposable-email-detection\">disposable email detection\u003C\u002Fa>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Role.\u003C\u002Fstrong> The local part names a function, such as \u003Ccode>info@\u003C\u002Fcode> or \u003Ccode>sales@\u003C\u002Fcode>, rather than a person.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Free provider.\u003C\u002Fstrong> The domain is a free consumer mailbox service. Normal for consumers, less telling than a company domain in B2B.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>None of them makes an address undeliverable. They feed your policy.\u003C\u002Fp>\n\u003Ch2 id=\"verify-an-address-with-the-api\">Verify an address with the API\u003C\u002Fh2>\n\u003Cp>One call runs all five steps and the three classifications:\u003C\u002Fp>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-bash\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">curl\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> https:\u002F\u002Fapi.qelka.com\u002Fv1\u002Femail\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  -H\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> \"Authorization: Bearer \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">$API_KEY\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  -H\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> \"Content-Type: application\u002Fjson\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> \\\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  -d\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\"> '{\"email\": \"jane@example.com\"}'\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-json\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">{\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"id\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"lkp_01M84BQ0P685M4955R9BRN1V99\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"object\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"email\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"input\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"jane@example.com\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"status\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"deliverable\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"reason\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"accepted_email\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"did_you_mean\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">null\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"checks\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"syntax\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">true\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"mx\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">true\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"smtp\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">true\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"catch_all\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">false\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"disposable\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">false\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"role\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">false\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">    \"free_provider\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">false\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"domain\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: { \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">\"name\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">\"example.com\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">\"spf\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">true\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">, \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">\"dmarc\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">true\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"score\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">100\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"credits_used\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">1\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">  \"cached\"\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">false\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>In JavaScript, with a timeout that leaves room for the mail server:\u003C\u002Fp>\n\u003Cpre class=\"shiki shiki-themes github-light github-dark\" style=\"--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e\" tabindex=\"0\">\u003Ccode class=\"language-javascript\">\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">export\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> async\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> function\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> verifyEmail\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#E36209;--shiki-dark:#FFAB70\">email\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">) {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">  try\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">    const\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> response\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> await\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\"> fetch\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'https:\u002F\u002Fapi.qelka.com\u002Fv1\u002Femail'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">, {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">      method: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'POST'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">      headers: {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">        Authorization: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">`Bearer ${\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">process\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">env\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">API_KEY\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">}`\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">        'Content-Type'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'application\u002Fjson'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">,\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">      },\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">      body: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">JSON\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">stringify\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">({ email }),\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">      signal: AbortSignal.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">timeout\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">(\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\">15000\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">),\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">    })\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">    if\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> (\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">!\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">response.ok) \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">return\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> { status: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'unchecked'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">    const\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#005CC5;--shiki-dark:#79B8FF\"> result\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> =\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\"> await\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> response.\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#6F42C1;--shiki-dark:#B392F0\">json\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">()\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">    return\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> { status: result.status, reason: result.reason, suggestion: result.did_you_mean, checks: result.checks }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  } \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">catch\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> {\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#D73A49;--shiki-dark:#F97583\">    return\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> { status: \u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#032F62;--shiki-dark:#9ECBFF\">'unchecked'\u003C\u002Fspan>\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\"> }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">  }\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--shiki-light:#24292E;--shiki-dark:#E1E4E8\">}\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>A call costs 1 credit in either mode. Send \u003Ccode>&quot;mode&quot;: &quot;fast&quot;\u003C\u002Fcode> to skip the mailbox step: it catches typos, dead domains and disposable inboxes without waiting for a mail server, but it can never return \u003Ccode>deliverable\u003C\u002Fcode>. Its best answer is \u003Ccode>unknown\u003C\u002Fcode> with \u003Ccode>smtp_not_checked\u003C\u002Fcode>. Checks that could not run on our side (\u003Ccode>smtp_unavailable\u003C\u002Fcode>) or whose DNS lookups failed (\u003Ccode>dns_error\u003C\u002Fcode>) are not billed.\u003C\u002Fp>\n\u003Ch2 id=\"what-to-do-with-the-result\">What to do with the result\u003C\u002Fh2>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>\u003Ccode>status\u003C\u002Fcode>\u003C\u002Fth>\n\u003Cth>Typical \u003Ccode>reason\u003C\u002Fcode>\u003C\u002Fth>\n\u003Cth>In a signup form\u003C\u002Fth>\n\u003Cth>On a mailing list\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\n\u003Ctr>\n\u003Ctd>\u003Ccode>deliverable\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>accepted_email\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Accept\u003C\u002Ftd>\n\u003Ctd>Keep\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>undeliverable\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>invalid_syntax\u003C\u002Fcode>, \u003Ccode>domain_not_found\u003C\u002Fcode>, \u003Ccode>domain_no_mx\u003C\u002Fcode>, \u003Ccode>domain_null_mx\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Ask for a correction; show \u003Ccode>did_you_mean\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Remove\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>undeliverable\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>mailbox_not_found\u003C\u002Fcode>, \u003Ccode>mailbox_disabled\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Ask the person to check the address\u003C\u002Ftd>\n\u003Ctd>Remove\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>risky\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>catch_all\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Accept; the confirmation email settles it\u003C\u002Ftd>\n\u003Ctd>Keep engaged contacts, test the rest in a small send\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>risky\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>disposable\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Your policy: refuse or flag\u003C\u002Ftd>\n\u003Ctd>Remove from marketing sends\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>risky\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>mailbox_full\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Accept\u003C\u002Ftd>\n\u003Ctd>Hold back, recheck later\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>unknown\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>greylisted\u003C\u002Fcode>, \u003Ccode>smtp_timeout\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Accept\u003C\u002Ftd>\n\u003Ctd>Retry later\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>\u003Ccode>unknown\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>\u003Ccode>smtp_blocked\u003C\u002Fcode>, \u003Ccode>provider_unverifiable\u003C\u002Fcode>\u003C\u002Ftd>\n\u003Ctd>Accept\u003C\u002Ftd>\n\u003Ctd>Treat like catch-all\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\n\u003C\u002Ftable>\n\u003Cp>Never block a signup on \u003Ccode>unknown\u003C\u002Fcode>. It describes the mail server, not the address.\u003C\u002Fp>\n\u003Ch2 id=\"what-verification-cannot-tell-you\">What verification cannot tell you\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Inbox placement.\u003C\u002Fstrong> Filters judge the message and the sender, not the address. Your own \u003Ca href=\"\u002Fblog\u002Fspf-dkim-dmarc\">SPF, DKIM and DMARC\u003C\u002Fa> records matter more here.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>The future.\u003C\u002Fstrong> A result describes the moment of the check. Mailboxes close and domains expire.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Late rejections.\u003C\u002Fstrong> RFC 5321 lets a server accept a recipient and bounce the message after reading it.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Who typed it.\u003C\u002Fstrong> A deliverable address can belong to someone else. A confirmation link proves control.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The free \u003Ca href=\"\u002Ftools\u002Femail-verifier\">email verifier\u003C\u002Fa> runs these checks on one address at a time. For forms, \u003Ca href=\"\u002Fdocs\u002Fguides\u002Fvalidate-signup-forms\">Validate signup forms\u003C\u002Fa> has the full flow in code. The \u003Ca href=\"\u002Fdocs\u002Fapi-reference\u002Femail\">email API reference\u003C\u002Fa> documents every status and reason.\u003C\u002Fp>\n",[11,15,18,22,25,28,31,34,37,40,43,46,49],{"id":12,"text":13,"depth":14},"the-five-checks-at-a-glance","The five checks at a glance",2,{"id":16,"text":17,"depth":14},"step-1-syntax","Step 1: syntax",{"id":19,"text":20,"depth":21},"catch-typos-before-you-judge-the-address","Catch typos before you judge the address",3,{"id":23,"text":24,"depth":14},"step-2-the-domain-exists","Step 2: the domain exists",{"id":26,"text":27,"depth":14},"step-3-mx-records","Step 3: MX records",{"id":29,"text":30,"depth":14},"step-4-the-smtp-mailbox-check","Step 4: the SMTP mailbox check",{"id":32,"text":33,"depth":21},"why-not-just-use-vrfy","Why not just use VRFY?",{"id":35,"text":36,"depth":21},"why-you-should-not-run-this-from-your-app-server","Why you should not run this from your app server",{"id":38,"text":39,"depth":14},"step-5-the-catch-all-test","Step 5: the catch-all test",{"id":41,"text":42,"depth":14},"three-more-signals-worth-reading","Three more signals worth reading",{"id":44,"text":45,"depth":14},"verify-an-address-with-the-api","Verify an address with the API",{"id":47,"text":48,"depth":14},"what-to-do-with-the-result","What to do with the result",{"id":50,"text":51,"depth":14},"what-verification-cannot-tell-you","What verification cannot tell you",[53,56,59,62,65,68,71],{"q":54,"a":55},"How can I verify an email address without sending an email?","Run the checks a mail server would run before delivery. Parse the address against RFC 5322 and RFC 5321, confirm the domain exists, read its MX records, then connect to the mail server and ask about the mailbox with the SMTP commands MAIL FROM and RCPT TO, leaving before DATA. The server's answer to RCPT TO tells you whether it accepts that recipient, and no message is ever delivered.",{"q":57,"a":58},"Does email verification send anything to the person?","No. The mailbox check stops after the RCPT TO command, which names the recipient, and quits before the DATA command that would carry a message. Nothing lands in the inbox and the owner sees nothing. A confirmation email is a different thing: it is a message you choose to send, and it remains the only proof that a person can read the inbox.",{"q":60,"a":61},"Why does email verification return unknown?","Unknown means the checks could not reach a conclusion, not that the address is bad. The mail server may have asked to retry later (greylisting), answered too slowly, refused to answer the check, or belong to a provider that accepts or blocks every probe. In fast mode, the mailbox step is skipped on purpose. Accept unknown addresses at signup and confirm them by email, or check them again later.",{"q":63,"a":64},"What is the maximum length of an email address?","254 characters in practice. RFC 5321 allows 64 octets for the local part before the @ and 255 for the domain, but it also caps the whole path at 256 octets including the angle brackets that surround the address in SMTP commands. That leaves 254 for the address itself. Longer values cannot travel through a compliant SMTP exchange, whatever a form accepts.",{"q":66,"a":67},"Is a deliverable email address guaranteed to reach the inbox?","No. Deliverable means the recipient's mail server accepted that exact mailbox when asked. Spam filters still judge each message, its sender and its authentication, so a deliverable address can route your mail to a spam folder. RFC 5321 also lets a server accept a recipient and bounce the message later. And a mailbox that exists today can be closed, filled or disabled next month.",{"q":69,"a":70},"How long does email verification take?","The syntax, DNS and list checks take milliseconds. The SMTP mailbox check waits for the recipient's mail server, which usually means a few seconds and occasionally longer. That is why verification APIs offer a fast mode that skips the mailbox step for forms where every second counts. Give full checks a client timeout of several seconds, and fail open if it expires.",{"q":72,"a":73},"What does a catch-all result mean in email verification?","The domain's mail server accepted a random address that cannot exist, so it accepts mail for every address at the domain. Its yes for the address you checked therefore proves nothing about that mailbox. The result is risky, not deliverable. Accept such addresses where a confirmation email settles the question, and send to them carefully on marketing lists. \u003Ca href=\"\u002Fblog\u002Fcatch-all-email\">Catch-all email\u003C\u002Fa> explains how to treat them.","2026-11-23",1974,{},1795474028901]