Email validation snippet in PHP