dbTalk Databases Forums  

package UTL_MAIL - 04042

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss package UTL_MAIL - 04042 in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pif 34
 
Posts: n/a

Default package UTL_MAIL - 04042 - 09-23-2011 , 10:30 AM






Hello,

i'm following tutorial on how to send email in Oracle 10g. When I try to
grant access to package UTL_MAIL, I get an error of "package not exists"
(ORA-04042). This is not an express edition.


grant execute on UTL_MAIL to public;

An idea on why and how to correct ?

Thanks.

Reply With Quote
  #2  
Old   
ddf
 
Posts: n/a

Default Re: package UTL_MAIL - 04042 - 09-27-2011 , 05:42 PM






On Sep 23, 8:30*am, Pif 34 <pi... (AT) nospam (DOT) fr> wrote:
Quote:
Hello,

i'm following tutorial on how to send email in Oracle 10g. When I try to
grant access to package UTL_MAIL, I get an error of "package not exists"
(ORA-04042). This is not an express edition.

grant execute on UTL_MAIL to public;

An idea on why and how to correct ?

Thanks.
It's likely not there; it is not installed by default so you have to
install it.


David Fitzjarrell

Reply With Quote
  #3  
Old   
ddf
 
Posts: n/a

Default Re: package UTL_MAIL - 04042 - 09-27-2011 , 05:44 PM



On Sep 27, 3:42*pm, ddf <orat... (AT) msn (DOT) com> wrote:
Quote:
On Sep 23, 8:30*am, Pif 34 <pi... (AT) nospam (DOT) fr> wrote:

Hello,

i'm following tutorial on how to send email in Oracle 10g. When I try to
grant access to package UTL_MAIL, I get an error of "package not exists"
(ORA-04042). This is not an express edition.

grant execute on UTL_MAIL to public;

An idea on why and how to correct ?

Thanks.

It's likely not there; it is not installed by default so you have to
install it.

David Fitzjarrell
Connect as SYS as sysdba:

SQL> @?/rdbms/admin/utlmail

....

SQL> @?/rdbms/admin/prvtmail.plb

....



David Fitzjarrell

Reply With Quote
  #4  
Old   
ddf
 
Posts: n/a

Default Re: package UTL_MAIL - 04042 - 09-27-2011 , 05:48 PM



On Sep 27, 3:42*pm, ddf <orat... (AT) msn (DOT) com> wrote:
Quote:
On Sep 23, 8:30*am, Pif 34 <pi... (AT) nospam (DOT) fr> wrote:

Hello,

i'm following tutorial on how to send email in Oracle 10g. When I try to
grant access to package UTL_MAIL, I get an error of "package not exists"
(ORA-04042). This is not an express edition.

grant execute on UTL_MAIL to public;

An idea on why and how to correct ?

Thanks.

It's likely not there; it is not installed by default so you have to
install it.

David Fitzjarrell
As sys as sysdba:

@?/rdbms/admin/utlmail
@?/rdbms/admin/prvtmail.plb

Those scripts will install UTL_MAIL.


David Fitzjarrell

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.