Hi all!

I'm looking for a good eMail validation library/assembly that I can include
in my .net projects for verifying eMail addresses (mainly syntax checking).


Thanks

Thomas

eMail validation library by Nick

Nick
Sat Oct 25 14:56:09 CDT 2003

Why not just use a regex expression to validate the email
address? The Regex class works great for something like
this.

-Nick Parker

>-----Original Message-----
>Hi all!
>
>I'm looking for a good eMail validation library/assembly
that I can include
>in my .net projects for verifying eMail addresses (mainly
syntax checking).
>
>
>Thanks
>
>Thomas
>
>
>.
>

Re: eMail validation library by Michael

Michael
Sun Oct 26 21:11:56 CST 2003

"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

Re: eMail validation library by Chance

Chance
Mon Oct 27 02:38:11 CST 2003

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



Re: eMail validation library by Bill

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
>
>



Re: eMail validation library by Girish

Girish
Mon Oct 27 16:38:13 CST 2003

Bill wrote:
> 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...
>

<snip/>
And that is the reason why most listservs do a
"dont-call-us-we'll-call-you" dance where they pass a URL will some
cookie as an email and the user has to click on that to get in.
--
Girish Bharadwaj


Re: eMail validation library by Thomas

Thomas
Tue Oct 28 14:00:08 CST 2003

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

Thanks for the hint, I´ll have a look at it.

>
> Michael Lang, MCSD



Re: eMail validation library by Thomas

Thomas
Tue Oct 28 14:02:34 CST 2003


"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.
> >

Well, I'm not very familiar with RegEx and the ready-to-use expressions that
I've found so far didn't cover 100% of all possible eMail syntax.


> > -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