Solved

DNS Email Validation using .Net

Posted on 2010-09-15
2
909 Views
Last Modified: 2012-05-10
I have a good javascript function that validates the email address but I would like to check the DNS of the email to make sure that at least its a good domain.

What is the best way to check the DNS using .Net and can I check to see if the email address is valid within the domain?

Thank you in advance!

James.
0
Comment
Question by:jgoodale
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 20

Accepted Solution

by:
Silvers5 earned 500 total points
ID: 33683942
Hi
Check this article with regards to querying MX records.. http://www.eggheadcafe.com/articles/20050129.asp
As for checking the validity of a mailbox it becomes tricky as telnetting to the mail server will give you no info unless you email that box,
Usually the best thing to do is to have a manual validation process, you send an email to the email owner with a link and unique random key, he clicks on it and and validates his email this way..

Regards
0
 

Author Closing Comment

by:jgoodale
ID: 33815336
Perfect answer. used javascript to validate the email then used a confirmation email to validate the account.
0

Featured Post

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question