Forums

ASP

This topic is locked

Email Validation

Posted 10 Nov 2005 19:35:30
1
has voted
10 Nov 2005 19:35:30 Scott Dyreson posted:
I am working on a form that validates the email address, it currently checks to see if there is a @ and a . in the text box. I am trying to validate it for our email site. I want them only to be able to enter their no other domain name should be accepted.

Does anyone know of any easy way to accomplish this. or do i need to do it in javascript. if so does anyone know the code for that.

Replies

Replied 14 Nov 2005 13:14:12
14 Nov 2005 13:14:12 Michael Behan replied:
Just modify your existing validation.

So instead of checking if there is an "@" in the address check to see if there is an "@mjsd.k12.wi.us" in it.
Replied 30 Jul 2006 18:32:38
30 Jul 2006 18:32:38 Dan Jam replied:
Hi there

Here's an article on sending and validating emails with ASP .NET 2.0.

www.webonweboff.com/tips/asp/email.aspx

Hope this helps...

Reply to this topic