note 7580 deleted from function.mail by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 23:02:50 +0000 |
| Subject: | note 7580 deleted from function.mail by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19860@lists.php.net to get a copy of this message | ||
Thanks to Markus Senoner for his contributions on the mail validation code. <P> For ezmlm
however, email addresses such as news-subscribe-cfchung=gol.com@slashdot.org (for example) is a
valid email address. Here is the eregi code for ezmlm.<P>
eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*=([0-9a-z][0-9a-z-]*[0-9a-z]\.)+[a-z]{2}[mtgvu]?@([0-9a-z][0-9a-z-]*[0-9a-z]\.)+[a-z]{2}[mtgvu]?$",
$addr) <P>