Re: Email - format
| From: | Manuel Lemos | Date: | Sun, 22 Feb 2004 05:59:42 +0000 |
| Subject: | Re: Email - format | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178480@lists.php.net to get a copy of this message | ||
Hello,
On 02/22/2004 02:47 AM, Sheni R. Meledath wrote:
Please suggest a regular expression which will reject only email addresses which are 100% invalid.You may want to take a look at this class that not only does regular expression e-mail address validation rejecting only addresses that have 100% certainly invalid characters, but also can check if the domain exists and if the respective SMTP server would accept messages to that address: http://www.phpclasses.org/emailvalidation -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html