This is a simple ASP Program to validate email address. The IsValidEmail() function checks for a valid email and returns true if the email address is a valid email otherwise it returns false if the email address isn’t proper syntax. The code is well commented and should explain what is happening .

This code checks for @ and a . period sign as well as only acceptable characters. i.e. if a user have entered # or $ sign in his/her email address then this function will return false.