Link to home
Start Free TrialLog in
Avatar of techques
techques

asked on

How to validate email address format?

Hi

I need to send email with a list. When I insert the email list, I need to validate the format of it in C# code.

while (!str.EndOfStream)
                {
                        string email = str.ReadLine().Split(new char[] { ' ,' });
                        //add to email program
}

How can I validate email address with proper format?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Gyanendra Singh
Gyanendra Singh
Flag of India 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