Check an e-mail address for validity (VB 5 and below)

Category:
Network/Internet
Type:
Snippets
Difficulty:
Intermediate
Author:
Brad Murray

Version Compatibility:

More information:
This function is an alternative to the other e-mail address validity checker on this site. Unlike the other function, this one does not require VB6 or above, and does not do a validity check on the top-level domain. Because that validity check requires a 250+ element array that will need to be updated regularly, you may prefer this version, which is smaller and easier to manage.

Thanks to Rob Hofker for adding some optimizations and additional checks to this function on 08/23/2000.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: