On 2 Feb 1997, Jason L Tibbitts III wrote:
> BR> Do we have any type of "valid address" checking in?
>
> That is what the &valid_addr routine in majordomo.pl does. It doesn't
> handle this case, though.
Right. Could we use this instead? It does handle this case, and a few
others.
If it fails, then it's a bad addr
if ($email =~ /(@.*@)|(\.\.)/ ||
$email !~ /^.+\@[a-zA-Z0-9\-_\.]+\.[a-zA-Z0-9]{2,3}$/)
-------------------------------------------------------------------------
| Brock Rozen | brozen@webdreams.com | http://www.webdreams.com/~brozen |
-------------------------------------------------------------------------
Follow-Ups:
References:
|
|