Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to check if a given email address actually exist in c#?

Tags:

c#

email

I am building a C# application where users creat an account and type their email address, I know how to validate it with Regular expression, what I am having truble with is how to check if that email actually exist? i.e. [email protected] --> is there such email address?

Thanks!

like image 404
user458695 Avatar asked Sep 26 '10 13:09

user458695


People also ask

How do you check if an email address is already exists?

Mail Tester is a web tool that let's you enter an email address to verify if there are problems with it or if it exists. A number of tests will be run on the email address without an actual email being sent. Visit www.mailtester.com , enter the email address and it will show you if its active or not.


2 Answers

The only way to check this is to send an email to that address and make sure that you send a link that needs to be clicked to activate the account. There is no other way to check if an email is correct

like image 143
Oskar Kjellin Avatar answered Oct 05 '22 22:10

Oskar Kjellin


Have a look at EmailVerify.NET

EmailVerify.NET is a powerful Microsoft .NET software component that verifies e-mail addresses with various tools, including:

  • Advanced syntax verification, according to IETF standards (RFC 2821 and RFC 2822, among others)
    • DNS validations, including MX record(s) lookup
    • Disposable e-mail address (DEA) validation
    • SMTP connection and availability checking
    • Mailbox existence checking, with greylisting and temporary unavailability support
    • Catch-all testing
like image 36
CD.. Avatar answered Oct 06 '22 00:10

CD..