VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Email validator

Jean-Philippe Leconte  (3 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This code validates an email. I was searching this site for a good email validation... but I found nothing interesting. So I did this... it also validates the domain part... with .com, .net... etc... all countries... and even the newest .ws, .museum, .biz... etc...
well... have fun!

Inputs
the email string

Assumes
just copy the ValidateEmail in a module or a form... and use!

Returns
True of False... duh!

Side Effects
the email will then be all lower-cased, since emails should always be lower-cased

Rate Email validator (3(3 Vote))

Download Email validator

Email validator Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters