How to validate Specific details in email address

Posted by Laghaterohan under ASP.NET on 9/8/2010 | Points: 10 | Views : 2540 | Status : [Member] | Replies : 4
Hello,

i want to check wether the email address entered by the user belongs to correct domain or not.

For eg: Suppose my company's name is ABC Ltd..then i want to verify wether the user entering email address of that org. should have email address as
xyz@abc.com
or
xyx@abc.co.in

How to verify this? Your help will be greatly appreciated.

Thanks a lot in advance,

Rohan Laghate

Best Regards,
Rohan Laghate



Responses

Posted by: T.saravanan on: 9/8/2010 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi,

http://msdn.microsoft.com/en-us/library/aa479013.aspx
Its for Email Validation

http://www.codeproject.com/KB/validation/Valid_Email_Addresses.aspx

Check this link its useful to you.

Cheers :)


Thanks,
T.Saravanan

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sonalee2304 on: 9/8/2010 [Member] Starter | Points: 25

Up
0
Down
Rahul,

Please check on this link:
http://www.velocityreviews.com/forums/t81340-dns-lookup-from-net-validate-email-address-domain.html

See if this is useful.

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vinay13mar on: 11/25/2012 [Member] Starter | Points: 25
Posted by: Asavasamuel on: 3/19/2013 [Member] Starter | Points: 25

Up
0
Down
Rohan

This is a good tool to validate email addresses in .net:
http://www.kellermansoftware.com/p-37-net-email-validation.aspx


Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response