Jeremy Wadsworth
My Contribution to the ASP.NET Community


Welcome   
Welcome to my personal website. Here you will find blog posts related to web development as well as personal related interests. If you're here for the source code to my Personal Web Site Kit, please register and you'll receive an email when your account has been approved.


Latest Blog Entries

 Wednesday, November 14, 2007


Check if an email address is from a valid domain    
Dim strEmail As String = "jimbale@apnzzz.com"
strEmail = strEmail.Substring((strEmail.LastIndexOf("@") + 1), strEmail.Length - (strEmail.LastIndexOf("@") + 1))
Try
Dim strTest As String = System.Net.Dns.GetHostEntry(strEmail).HostName
Catch exNoHostException As System.Net.Sockets.SocketException
 'Handle here when the email has an invalid domain
 Dim stT As String = ""
Catch ex As Exception
 'Handle unexpected errors here
 Dim stT As String = ""
End Try


jeremy at 10:44 AM | (15) Comments | Add a comment | Permalink





Commments
naas said...

thats gud

Monday, March 01, 2010 9:17 PM

naas said...

thats gud

Tuesday, March 02, 2010 3:30 AM

medical ppo said...

I'm looking to setup a Multiple Sclerosis Support Community portal that is ASP or ASP.Net based with an XML database. Ideally it would be either FREE or Open Source. Wanted, but not needed is a module that would function sort of like a MySpace area for each user. Pictures, Videos, Blog, profiles, maybe some games, etc...

Saturday, April 24, 2010 7:13 PM

sites pour jouer au casino en ligne said...

Excellent article. It really helped me out.This blog is very use full to me I am thank full to whom by this blog is created...Thanks....

Monday, May 03, 2010 3:50 AM

Electronic Cigarette said...

I follow so many web development sites, blogs that I need a system to follow them on somekind of RSS reader or something, do you suggest something ? Jessica Jameson - I am a Newbie Internet Marketer :)

Tuesday, May 11, 2010 2:26 AM

Teeth whitening said...

well done.

Thursday, July 01, 2010 11:45 AM

Tiffany jewellery said...

Wanted, but not needed is a module that would function sort of like a MySpace area for each user. Pictures, Videos, Blog, profiles, maybe some games, etc...

Friday, July 16, 2010 9:04 PM

bad credit auto loan said...

ere are a number of domain name servers that do not ratify that a valid source has signaled the information and as a result, the visitors get mislead and land up on the wrong website, when they enter the URL of your website in the web browser. However, you don't need to worry ... 5) Buy multiple domain extensions: Buy all top level extensions for your domain name as this would protect your domain name from any theft and your web traffic won't be misled

Monday, July 19, 2010 1:48 PM

junk yards said...

Automate online investigations, manage domain name portfolios, and check domain name availability. Our Whois and DNS tools enable you to extract Whois data (to XML), obtain any DNS record, and create advanced domain-related applications.

Friday, July 23, 2010 1:11 PM

structual foam said...

I was wondering how to make an email address from a domain name? I have bought a new one for my business but am not sure how to setup an email address.

Tuesday, July 27, 2010 9:59 PM

iphone blog said...

I LIKE VERY MUCH

Monday, August 02, 2010 8:41 AM

search engine optimization los angeles said...

it would be either FREE or Open Source. Wanted, but not needed is a module that would function sort of like a MySpace area for each user. Pictures,

Friday, August 06, 2010 7:34 AM

Manolo Blahnik Shoes said...

Looking forward to another great blog. Good luck to the author! all the best!

Sunday, August 15, 2010 1:01 AM

fico score said...

I have problems with sites rejecting my gurganus.name e-mail address and it’s often a stupid reason too. They just have a stupid regular expression that checks that the TLD is two or three letters. But if you look at the registered TLD list at http://iana.org/domains/root/db/ you see several that are more than three letters now. My suggestion is to just check the syntax with the regular expression, as long as that is good, let the e-mail software figure out if the semantic of the domain name (if used instead of IP address) and the username are okay.

Thursday, August 19, 2010 9:48 PM

fico score said...

I have problems with sites rejecting my gurganus.name e-mail address and it’s often a stupid reason too. They just have a stupid regular expression that checks that the TLD is two or three letters.

Thursday, August 19, 2010 9:49 PM

  Leave a comment

Enter Your Name:
 
Enter your website
Security code from image below:  
Need Custom Controls Work or Training?
   


Join WebHost4Life.com






If you would like to help support this project, please click the button below to make a small donation.