Re: Check mail user
| From: | Valentin V. Petruchek | Date: | Wed, 24 Oct 2001 07:35:30 +0000 |
| Subject: | Re: Check mail user | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72060@lists.php.net to get a copy of this message | ||
If I understand you properly you need smth like this
function checkmail ($email) {
return (eregi("^[_\.0-9a-z-]+@([0-9a-z][-0-9a-z\.]+)\.([a-z]{2,3}$)",
$email, $check));
}
----- Original Message -----
From: "Rosen" <rosen_dm@dir.bg>
To: <php-general@lists.php.net>
Sent: Wednesday, October 24, 2001 10:24 AM
Subject: [PHP] Check mail user
> Hi,
> can someone give me script for syntax check of username for mail server ?
>
> Thanks,
> Rosen
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>