How to know email exist or not without sending mail

There are a few ways to check if an email address exists without sending an email:

  1. Use a email verification API: There are several APIs available that can verify the existence of an email address without sending an email. Some popular ones include:
    • Mailgun's Email Verification API
    • Clearbit's Email Verification API
    • Hunter's Email Verification API
    • EmailVerify.io
  2. Use a DNS lookup: You can perform a DNS lookup to check if the email address exists. Most email providers set up a DNS record for their email addresses. You can use a tool like dig or nslookup to perform a DNS lookup. For example:
    • dig +short mx example.com (replace "example.com" with the domain name of the email address)
    • nslookup -type=mx example.com (replace "example.com" with the domain name of the email address)
  3. Use a WHOIS lookup: You can perform a WHOIS lookup to check if the email address exists. WHOIS is a database that contains information about domain names and IP addresses. You can use a tool like whois.net or ipwhois.net to perform a WHOIS lookup. For example:
    • whois example.com (replace "example.com" with the domain name of the email address)
  4. Use a email validation library: There are several libraries available that can validate email addresses and check if they exist. For example:
    • Python: email-validator library
    • JavaScript: email-validator library
  5. Check the email address format: You can also check if the email address is in the correct format. For example, you can check if the email address has a @ symbol and a domain name. However, this method is not foolproof, as it's possible for an email address to exist without being in the correct format.

Keep in mind that these methods are not foolproof, and it's possible for an email address to exist without being verified or for an email address to be fake.