Re: note 15315 added to function.checkdnsrr
| From: | Jesus M. Castagnetto | Date: | Wed, 05 Sep 2001 19:38:57 +0000 |
| Subject: | Re: note 15315 added to function.checkdnsrr | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-17683@lists.php.net to get a copy of this message | ||
Not all email can be mathced w/ your regexp. Also a
well-formed email does not assure the existence of the
mailbox. Check the Internet mail RFC for more
information (RFC 822), see also:
http://www.imc.org/rfcs.html.
The paragraph above will be added to your note.
--- it2@ithum.de wrote:
> how about preg_match and:
> $rex="/^[\w-]+(\.[\w-]+)*@\w+(\.[\w-]{2,3})$/";
> if (preg_match ("$rex", "_Kla.3M-er@f.fe_" ))
> {
> print "valid email";
> }
>
>
> http://www.php.net/manual/de/function.checkdnsrr.php
>
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto <jmcastagnetto@php.net>
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com