Search Tools Links Login

An Excellent E-Mail Validator

Validating an email address is a big headache to both the web and stand alone app developers. Especially when the e-mail is used as the handle or key to your transactions, its structure becomes of importance and has to be properly entered. Unfortunately developing a module or an application to solve this problem is not without its own set of problems ....besides having to spend valuable time in combining and interpreting the validations.
As a developer, I faced this problem more than once and decided to find a permanent solution...and what better way than to develop a COM component!! and make it universally perusable!
Yes, you now have a powerful piece of component(with its source code) at your disposal. This COM not only comes as a boon(because of its inherent quality of being a COM and being multiusable), but also a great time saver . I'm sure you'll find this component worthy, as has many other developers in my organisation(yes!! its widely used in my company :)).
I have covered all aspects of email validations here when you enter an email address for verification, you are sure it'll be verified!!
I have also added the DLL along with the ZIP :)

Original Author: Arun Nair


An email address to be verified.
To use the COM follow the steps:
1.) Reference the COM through Project references(if you are using VB)
2.) If you are not using VB .for eg. within your ASP script, write the code
dim mvObj
set mvObj=Server.CreateObject("ArunUtils.MailValidator")
3.) Now refer the checkMailVal method within the object. and store the output in a var eg: result=mvObj.checkMailVal("")
4.) If the email is structurely right, the return value is an empty string ...else the error description is returned as the string


Basic knowledge of Visual Basic and also usage of COM components


Whether the email supplied is valid or not!

Side Effects


About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 73 times


Visual Basic 6

Posted: 9/3/2020 3:45:00 PM
Size: 6,556 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.