Re: Verifying E-mail Addresses

From: Date: Mon, 15 Sep 2003 13:37:57 +0000
Subject: Re: Verifying E-mail Addresses
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162628@lists.php.net to get a copy of this message
In article <1063567181.2795.130.camel@syr-24-58-14-3.twcny.rr.com>, dan@mathjunkies.com says... > 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, Haven't seen this question for a few days now :-) The mailing list archives are a valuable resource at http://marc.theaimsgroup.com/?l=php-general In particular, for your question, try (allowing for line wrap) http://marc.theaimsgroup.com/?l=php- general&w=2&r=1&s=email+address+validation&q=b Cheers -- Quod subigo farinam A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet?

« previous php.general (#162628) next »