?
Solved

DNS Email Validation using .Net

Posted on 2010-09-15
2
Medium Priority
?
912 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 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

Four New Appliances. Same Industry-leading Speeds.

But don't take it from us.  The Firebox M370 is Miercom tested and Miercom approved, outperforming its competitors for stateless and stateful traffic throughput scenarios.  Learn more about the M370, M470, M570 and M670 and find the right solution for your organization today!

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

801 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