Solved

DNS Email Validation using .Net

Posted on 2010-09-15
2
905 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

786 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