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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Java Question

Re: Oracle Java Question

From: <pobox002_at_bebub.com>
Date: 29 Jun 2005 10:55:17 -0700
Message-ID: <1120067717.864127.220810@g47g2000cwa.googlegroups.com>


HansF wrote:

> Greatest curiosity ... Oracle supplies the UTL_SMTP PL/SQL package (at no
> added charge) to handle mail from the database ...
>
> Is there something wrong with the package that it doesn't suit your needs?

UTL_SMTP is pretty low level and it is not easy to do things like attachments.

>From Ask Tom

http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:255615160805

<quote>
The UTL_SMTP package is best suited for sending small, text only emails from the database. While its API supports the sending of attachments and everything else it is left to you to actually encode the multi-part document for example turning binary attachments into mime-encoded documents.
</quote>

<quote>
That would be (conservatively) a couple of hundred, if not thousands of lines of PL/SQL code. Rather then do that, I will suggest that you use the already written and very robust JavaMail API as described below.
</quote>

-- 
MJB
Received on Wed Jun 29 2005 - 12:55:17 CDT

Original text of this message

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