Author: jrahma | Posted on: 9/23/2010 10:41:15 AM | Views : 464

Hi,
I have a problem with this link:
http://www.jassimrahma.com/contact.aspx
I am just trying a simple email sending which should give an alert with an error if error ocurres or a sent message if it was successfull but it's not doing anyting!
it's just refreshin the page with a new funny style!
here is the code I am using
 
public static bool is_valid_email(string user_email) { string strRegex = @"^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}" + @"\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\" + @".)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"; Regex re = new Regex(strRegex); if (re.IsMatch(user_email)) return (true); else return (false); } protected void Page_Load(o ...

Go to the complete details ...