This class can be used to validate an e-mail address by checking its domain. It can check a given e-mail address by verifying if it matches a regular expression with a pattern of valid e-mail addresses. The class can also check the existence e-mail address domain by opening a connection to a host with the e-mail domain name. How to Work? check length of email address max is 320 characters where:1- 64 characters max for the user of email address 2- 1 character max for the @ 255 characters max for the host name apply regular expressions to valid email addres string check if exist host to send messages to email address class by robertoaleman class home page download eavalidator-1.0.zip [1.64 KB] see class source eavalidator.php [1.81 KB] index.php [1.04 KB]
Or just use a simple function like this... http://www.developer.com/lang/php/article.php/10941_3290141_2/Validating-Emails-with-PHP.htm
thanks i am already using a similar class in 1 of my scripts.. it prevents fake domains from bieng submitted but then it doesnt stop all emails sometimes people put fake emails which they dont own but they maybe real
thank you every body there is one way to stop people making spaming is a php class its job catch any spammer and kill him buy a gun