Verifying E-mail Addresses
| From: | Dan Anderson | Date: | Sun, 14 Sep 2003 19:19:42 +0000 |
| Subject: | Verifying E-mail Addresses | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-162571@lists.php.net to get a copy of this message | ||
I'm having a problem with e-mail addresses entered by users that are
invalid (i.e. $email == "some person at somewhere.com"). Is there a
function I could call like:
<?php
if (email_is_valid($email))
{ mail_out_newsletter($email); }
else
{ yelp_and_whine(); }
?>
Thanks in advance,
Dan