Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validate Email Address

Status
Not open for further replies.

mlamour

Programmer
Jan 31, 2001
5
0
0
US
Hi,

I have VB project that allows users to insert email addresses to a client listing and then sends emails to the clients. Hod do I validate that the email addresses are following the xxx@xxx.com format? Any suggestions is appreciated.
 
Are you wanting to validate against a known address, or just checking to see that the address is in roughly the right format? If the latter, it depends on whether all the emails will be to .com addresses since you could easily check in VB. I guess you would have to write a string handling routine to go through from start to end, checking for invalid characters.

Alternatively, you could check out the VB forums on this site :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top