Link to home
Start Free TrialLog in
Avatar of avi7
avi7

asked on

Email Address format validator

Hi,
I am trying to find a way on how I can validate in C# if I got a valid email or not.
Like testing the following email extensions “@hotmail.com”, “@gmail.com” and “@yahoo.com”
Can someone have any suggestion?  Thanks!
Avatar of dimaj
dimaj
Flag of United States of America image

How about extracting the domain name and doing a simple ping on it.

I.e. ping hotmail.com or ping yahoo.com or ping gmail.com?
ASKER CERTIFIED SOLUTION
Avatar of dimaj
dimaj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of avi7
avi7

ASKER

Thanks!
Anytime!