Bill
Mon Oct 27 10:36:20 CST 2003
This is pretty much useless since most mail servers will not tell you if the
address is valid or not for security reasons. As long as the e-mail address
it going to an address within its domain it will normally accept the
message. The only way to tell if its invalid is by the failure notice the
mail server sends back to sender.
"Chance Hopkins" <chance_hopkinsNO_VIRUSES_HERE_PLEASE@hotmail.com> wrote in
message news:OoutrWGnDHA.2628@TK2MSFTNGP10.phx.gbl...
> anyone got any ideas for checking the address for validity with an smtp
server?
>
> not just valid syntax, but actual validity?
>
>
> "Michael Lang" <ml@nospam.com> wrote in message
news:Xns9420D7A3D1CFAlang1474icqmailcom@207.46.248.16...
> > "Nick Parker" <anonymous@discussions.microsoft.com> wrote in
> > news:030801c39b32$08aab0a0$a301280a@phx.gbl:
> >
> > > Why not just use a regex expression to validate the email
> > > address? The Regex class works great for something like
> > > this.
> > >
> > > -Nick Parker
> >
> > And, If you don't want to re-invent the wheel, then go to this site for
> > some good Email validation regular expressions.
> >
> >
http://www.regexlib.com/DisplayPatterns.aspx
> >
> > Michael Lang, MCSD
>
>