in reply to Poor man's email address validation function

That's utterly and completely wrong with respect to "forbidden characters". For example, it invalidates any email address that has a gatewayed "local part" that contains a foreign (non RFC822) address, or addresses that I use to keep mail from getting scraped. For example, my fund responder is no longer fund@stonehenge.com, but fund*@stonehenge.com, and you've just ruled that address out.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Poor man's email address validation function

Replies are listed 'Best First'.
Re^2: Poor man's email address validation function
by Jorge_de_Burgos (Beadle) on Jun 27, 2004 at 09:56 UTC
    Thanks Randal for your comments. Can you show me an example of an email address that has a gatewayed local part that contains a foreign (non RFC822) address? I just cannot figure out what that looks like.
      fund*@stonehenge.com

      Or my e-mail address: gellyfish.com!jns@localhost

      ;-)

      /J\