Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > dns lookup from .net -- validate email address (domain)

Reply
Thread Tools

dns lookup from .net -- validate email address (domain)

 
 
martin
Guest
Posts: n/a
 
      06-24-2004
Hi,

I would like to validate an email address from .net. Now before you scream
regular expression I would like something a bit better than this.

I would like to validate the domain, and maybe lookup to see if the domain
has a valid MX record.

can anybody tell me if this is possible using .net and if so point me in the
right direction.

If it is possible then would it also be possible to make sure that I get an
authorative answer and not just an answer from any old server.

many thanks in advance.

martin.




 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      06-25-2004
You can do some pretty decent DNS stuff with the System.Net.Dns object, but
there are also some more powerful third-party components that would probably
save a lot of hand-coding, such as the one at:
http://www.asp.net/ControlGallery/Co...740&tabindex=2

You should be able to find a ton more over at the www.asp.net control
gallery just by searching on DNS.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"martin" <> wrote in message
news:%...
> Hi,
>
> I would like to validate an email address from .net. Now before you scream
> regular expression I would like something a bit better than this.
>
> I would like to validate the domain, and maybe lookup to see if the domain
> has a valid MX record.
>
> can anybody tell me if this is possible using .net and if so point me in

the
> right direction.
>
> If it is possible then would it also be possible to make sure that I get

an
> authorative answer and not just an answer from any old server.
>
> many thanks in advance.
>
> martin.
>
>
>
>



 
Reply With Quote
 
 
 
 
Peter Blum
Guest
Posts: n/a
 
      06-25-2004
Here's another great third party MX record validator:
http://www.aspnetmx.com

--- Peter Blum
www.PeterBlum.com
Email:
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"martin" <> wrote in message
news:%...
> Hi,
>
> I would like to validate an email address from .net. Now before you scream
> regular expression I would like something a bit better than this.
>
> I would like to validate the domain, and maybe lookup to see if the domain
> has a valid MX record.
>
> can anybody tell me if this is possible using .net and if so point me in

the
> right direction.
>
> If it is possible then would it also be possible to make sure that I get

an
> authorative answer and not just an answer from any old server.
>
> many thanks in advance.
>
> martin.
>
>
>
>



 
Reply With Quote
 
viper viper is offline
Junior Member
Join Date: Oct 2008
Posts: 1
 
      10-29-2008
I like this .NEt email validator componement monoprog.com/prod/asp_net_components/email_validator_net.aspx
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you tell a Cisco router NOT to cache a DNS lookup? Terra Dactyl Cisco 5 01-07-2005 04:37 AM
reverse DNS lookup =?Utf-8?B?RGFuIE5hc2g=?= ASP .Net 0 10-14-2004 09:05 AM
performing reverse DNS lookup with InetAddress Madhur Ahuja Java 1 08-29-2004 07:57 AM
DNS TXT Record Lookup with J2ME David Java 1 06-25-2004 02:25 PM
RegExp to validate an email address Andrew DeFaria Javascript 10 10-30-2003 08:07 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57