Possible Duplicate:
How to check if an email address exists without sending an email?
How can you check if an email address actually exists (not just validating)? How do these guys do it: http://www.email-unlimited.com/tools/verify-email.aspx
It seems to work...
The SMTP protocol has the command RCPT that receives a mailbox on the server and may return an "ok" code if that mailbox exists. Note that some servers don't do this in order to prevent spammers from scanning for valid addresses.
What email-unlimited do is the following:
If the SMTP server returns an "ok" code in step 2, then they decide that the mailbox exists.
Found this at link: http://wiki.cdyne.com/index.php/CSharp_Email_Verification
//Instantiate EmailVerify
EmailVerify.EmailVerify ev = new EmailVerify.EmailVerify();
//Assign ReturnValues to the VerifyEmail method and pass in: email and License Key
EmailVerify.ReturnValues rv = ev.VerifyEmail("[email protected]", "0");
//Assign ReturnValues to the VerifyEmailWithTimeout method and pass in: email, timeout, and License Key
EmailVerify.ReturnValues rvt = ev.VerifyEmailWithTimeout("[email protected]", "5", "0");
//Get the response for VerifyEmail (you can choose which returns to use)
Console.WriteLine(rv.ValidLicenseKey);
Console.WriteLine(rv.CorrectSyntax);
Console.WriteLine(rv.EmailDomainFound);
Console.WriteLine(rv.EmailDisposable);
Console.WriteLine(rv.DomainVerifiesEmail);
Console.WriteLine(rv.DomainAcceptsMail);
Console.WriteLine(rv.EmailVerified);
Console.WriteLine(rv.Timeout);
Console.WriteLine(rv.DomainServersDown);
Console.WriteLine(rv.GoodEmail);
//Get the response to VerifyEmailWithTimeout (only using chosen responses)
Console.WriteLine(rvt.EmailDisposable);
Console.WriteLine(rvt.DomainVerifiesEmail);
Console.WriteLine(rvt.DomainAcceptsMail);
Console.WriteLine(rvt.EmailVerified);
Console.WriteLine(rvt.Timeout);
Console.WriteLine(rvt.DomainServersDown);
Console.WriteLine(rvt.GoodEmail);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With