by Jean-Philippe Leconte (3 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
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!
Code Returns
True of False... duh!
Side Effects
the email will then be all lower-cased, since emails should always be lower-cased
Download Email validator (3 KB)