Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Code to Validate email addresses

Re: Code to Validate email addresses

From: Jared Still <jkstill_at_cybcon.com>
Date: Wed, 24 Oct 2001 07:17:22 -0700
Message-ID: <F001.003B3189.20011024072019@fatcity.com>

If you want a definitive answer, this is it:

   http://RFC.net/rfc2822.html

My suggestion would be that you don't actually allow all valid forms of addressing. The code to check that would be rather large to say the least, and the testing routine for it would not be too trivial either.

Jared

On Wednesday 24 October 2001 06:15, Oweson Flynn wrote:
> Hi,
>
> We have implemented a form that emails reports. The user has to enter his
> email address.
>
> However, we are finding that a lot of users are entering incorrect and
> invalid email addresses.
>
> Obviously, we can do nothing if they enter an incorrect (but syntactically
> correct) email address.
>
> What I am looking for is:
>
> 1) A definition of the syntactically correct format of an email address
> (from some sort of authoritative source)
>
> 2) Hopefully some pl/sql code that will validate a sting to see if it is a
> valid email address.
>
> If anyone can assist, I would appreciate it!
>
> Regards
> Oweson Flynn
> _____________________________________________________________________
> "Tell me what you think, Captain, I'm all ears" - Spock
>
> Certified Oracle DBA
> The Flynn Consultancy
> Tel: 082-600-7-006
> Fax: (011) 782-9313
> EMail: oef_at_icon.co.za
>
>
>
> *******************************************************************
>
> This message may contain information which is confidential and subject to
> legal privilege. If you are not the intended recipient, you may not peruse,
> use, disseminate, distribute or copy this message. If you have received
> this message in error, please notify the sender immediately by email,
> facsimile or telephone and return and/or destroy the original message.
>
> *******************************************************************

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: jkstill_at_cybcon.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Oct 24 2001 - 09:17:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US