note 13200 deleted from function.mail by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 23:24:30 +0000 |
| Subject: | note 13200 deleted from function.mail by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19915@lists.php.net to get a copy of this message | ||
In reply to the ereg ernesto@teccom.cl sent, I would like to comment that it does not work if you
have a dash in your Email address.
For example, super@internet-company.com won't work although it's perfectly legal.
I use the following ereg - no hassle and it works:
"^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*$"