Solved

DNS Email Validation using .Net

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now