Saurabh;
  Have you looked at ALL of the packages involved ??  Does the SYS.UTL_TCP
exist and does the ID using SEND_MAIL have the correct access to it ??  (I
know these are basic questions, but its usually the basic ones that get us
first !)

Kevin

-----Original Message-----
Sent: Thursday, May 31, 2001 3:21 AM
To: Multiple recipients of list ORACLE-L


hi Jared,

my execution cmd goes like..
EXECUTE
SEND_MAIL('[EMAIL PROTECTED]','[EMAIL PROTECTED]','urgent','hello')

it's giving the following error msgs..
ORA-04068: existing state of packages has been discarded
ORA-04067: not executed, package body "SYS.UTL_TCP" does not exist
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "SYS.SEND_MAIL", line 10
ORA-06512: at line 2

the package is shown as valid in dba_objects for sys.


----- Original Message -----
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 12:05 PM


>
> Your procedure is masking the error in the exception block.
>
> Comment out the exception block to see the real error.
>
> Jared
>
> On Wednesday 30 May 2001 22:18, you wrote:
> > it gives other error msg which are defined in the exception body inside
the
> > procedure.
> > here it goes..
> >
> > EXCEPTION
> >   when others then
> >        raise_application_error(-20000,'Unable to send e-mail message
from
> > pl/sql');
> >
> > this msg is returned with ora 06512
> >
> > any suggestions..
> > ----- Original Message -----
> > From: Jared Still <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>; Saurabh Sharma <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 30, 2001 9:43 PM
> > Subject: Re: How to send email from pl/sql in 806?
> >
> > > On Wednesday 30 May 2001 03:10, Saurabh Sharma wrote:
> > > > should i give it all four arguments. but it still not executing
saying
> > > > ora-06512
> > >
> > > There are always other error messages accompanying an ORA-6512.
> > >
> > > What are they?
> > >
> > > Jared
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Jared Still
>   INET: [EMAIL PROTECTED]
>
> 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: [EMAIL PROTECTED] (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).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Saurabh Sharma
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kevin Lange
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to