email checker

If I have 100000 Email ID,I want send email to all but before sending mails I want Check Email ID is correct or not ?

I am not talking about Syntax checking I want test Email ID Validation.

I want c++ code for Email validation
please reply soon
According to RFC 2822, the regular expression for email address validation is
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
Really? And how is any human supposed to understand that?
thanks helios,

if mail id is destroy, like EMP is left your any organization and his mail id is persist.
so how can i understand this email id is not valild.
Regular expressions are very, very useful. I highly recommend learning them.
hi moorecm
i know Regular expressions are very useful but its checking from client and its not useful if Email id is looking good according to RFC2822 but Email id is not VAILD, i want check from server side.
i thinks you Understand my Problem.
Topic archived. No new replies allowed.