[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

DNS Email Validation using .Net

Posted on 2010-09-15
2
Medium Priority
?
916 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:
Michel Sakr earned 2000 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

649 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