UTL_MAIL [message #607669] |
Mon, 10 February 2014 18:48 |
|
anncao
Messages: 87 Registered: August 2013
|
Member |
|
|
I am trying to use utl_mail.send to send an email, but get an error
identifier 'UTL_MAIL.SEND' must be declared
Searched on internet said it may not be installed,
but how can i check if it is installed or not,
I did a query: select * from dba_objects where object_name like 'UTL_%'
I cannot find UTL_MAIL, but there is an UTL_SMTP. (I run this query by using an account which is not dba)
Does that mean, UTL_MAIL is not installed?
And we have to install that?
The other thing I find out in our file system there is a script that sending email for backup notification that is using UTL_MAIL so I suspect it is installed.
Thanks,
|
|
|
|
Re: UTL_MAIL [message #607683 is a reply to message #607669] |
Tue, 11 February 2014 01:46 |
John Watson
Messages: 8931 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
utl_mail is not installed by default, you need to run the utlmail.sql and prvtmail.plb scripts.
|
|
|
|
Re: UTL_MAIL [message #607764 is a reply to message #607760] |
Tue, 11 February 2014 12:21 |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
anncao wrote on Tue, 11 February 2014 13:01How can I check if it is installed or not?
Quote:I did a query: select * from dba_objects where object_name like 'UTL_%'
I cannot find UTL_MAIL, but there is an UTL_SMTP. (I run this query by using an account which is not dba)
Does that mean, UTL_MAIL is not installed?
It should be clear that it is not installed. you will need a DBA to do it for you, or someone with the correct credentials who knows what they are doing.
|
|
|
|