note 7580 added to mail
| From: | cfchung at gol dot com | Date: | Tue, 08 Aug 2000 06:03:46 +0000 |
| Subject: | note 7580 added to mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-610@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>
http://www.php.net/manual/function.mail.php