Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Send Message from the Oracle Database Unix mail, via PL/SQL
Here it is.. Hope it helps.. - Kirti -----Original Message----- From: Steve Orr [SMTP:sorr_at_arzoo.com] Sent: Wednesday, August 02, 2000 11:39 AM To: Multiple recipients of list ORACLE-L Subject: RE: RE: Email from PL/SQL with Java - UTL_SMTP -UTL_TCP There's not much to share. Oracle 8.1.6 or later is required. First you need
to make sure the Oracle JVM is installed, (it's installed by default with
8.1.6). If it's not installed then follow the instructions on Metalink Doc
105472.1 but you'll also need to follow Jared's suggestion:
"After running @?/javavm/install/initjvm, you will also need to run @?/rdbms/amdin/initplsj ( not documented )" The UTL_SMTP package should already be installed on your system. Then just follow the instructions from Metalink Doc # 106513.1. BTW, they don't give good instructions on how to implement the plsql.jar. Here's what Idid:
$ cd $ORACLE_HOME/plsql/jlib $ loadjava -u system/password -v -r plsql.jar The 106513.1. doc gives sample code to help you roll your own PL/SQL email package/procedure. That's all there is to it. Have fun, Steve Orr>
> -----Original Message-----
> From: Garrity Ed R [SMTP:Ed.R.Garrity_at_irs.gov]
> Sent: Thursday, September 28, 2000 1:31 PM
> To: oracledba_at_quickdoc.co.uk; 'oracle-l_at_fatcity.com'
> Subject: Send Message from the Oracle Database Unix mail, via PL/SQL
![]() |
![]() |