Table of Contents
A command-line lookup can show how a domain receives email. To find out whether a specific message failed, look for a delivery notice from your mail provider. Even when the domain has valid mail servers, a particular mailbox may be inactive, misspelled, or temporarily unavailable.

Check that the domain has a mail route
Copy only the part after @ from the address. Open Command Prompt, PowerShell, or a terminal with nslookup installed and query the domain. Replace example.com with the actual domain.
nslookup -type=mx example.comMX records list the servers that receive mail for a domain. Multiple records are normal. A lower preference number is tried first. A null MX record, shown as priority 0 and target ., declares that the domain does not accept email. If the domain exists but has no MX records, SMTP can fall back to its address records, so a missing MX result by itself is inconclusive. The DNS fundamentals guide and the DNS resolution walkthrough can help if the query itself times out.
Use the delivery notice to decide what to do next
- Address not found: Read the enhanced status code and the explanation. For example, Gmail uses
550 5.1.1for a recipient account that does not exist. Check for typos and ask the recipient for their current address using a channel you already trust. - Temporary failure: A
4xxSMTP status generally indicates a temporary issue. Follow the mail provider's instructions and allow its normal retry process to run. - Rejected by policy: A permanent error can also reflect spam filtering, authentication, or attachment policies. Read the accompanying text before deciding the address is wrong.
See Gmail's guide to bounced or rejected messages for common causes.
What an address check can confirm
A valid-looking address and a working mail domain only establish that delivery is plausible. A mail service can accept a message for later processing, route it to a catch-all mailbox, or filter it after accepting it. If you need to verify ownership for a signup or account change, send a confirmation link as part of that requested flow and confirm that the recipient can open it.
Reader Comments 0
Sign in with email or Google to join the discussion.