views:

183

answers:

3

Hello, i want to check if an e-mail address is valid and exist.

I mean not using regex. I need a valitadion by using mx.

for example how to check blablabla[at]gmail.com exists on gmail.com

it would be better using CMD (win)

+5  A: 

The only reliable way is send a message to the account and require the recipient to do something (e.g. click a unique link in the email).

Matthew Flaschen
Indeed. The rationale behind Matthew's answer: even a properly formatted email sent to a 'valid' -- not-bouncing -- address is no guarentee that it is really delivered to a mailbox and read by a person.Depending on the OP's requirements regarding 'drop-all' or 'catch-all' mail addresses, some kind of notification link is required if you want some evidence that a human person read the mail. But then, even mails delivered to a normal mailbox may stay unread (or not-acted-upon) because of SPAM prevention measures.
jschulenklopper
A: 

Send an email to target email-id and call it invalid if the email bounces back. That's the only way to test authenticity of an email-id.

this. __curious_geek
This can prove it is invalid (if it bounces) but not that it is valid (if there is no reply, it can mean it was silently eaten by the MTA).
bortzmeyer
A: 

You should take a a look at our email validation web-service. The main features are that it:

•checks that the email domain exists and can accept messages

•suggests corrections for misspelt domain names

•suggests corrections for misspelt user names

•identifies email addresses as personal, generic, free etc

http://www.data-8.co.uk/integr8/services/email_validation.aspx

Cheers,

Jez

Jez Walker