PDA

View Full Version : Validating an email address in VB, Help


Valic
05-19-2004, 12:13 PM
I want to validate an email address in one or two lines if possible.

what do you think

raf
05-19-2004, 12:19 PM
I think it's impossible.

You can use a regex to check the valueformat (does it contain an @ before the . and at least 2 letters behind the last dot etc) but blabla@bla.bl would still be valid.

The best way is to simply send a message to the adress with some necessary info (like an initial password or registrationkey or whatever)
But even then : mail-account that are valid today can be gone tomorrow ...