Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Java Question
amerar_at_iwc.net wrote:
> I went with the Java email package because it was suggested to me by
> some people who work over at Oracle.........
>
> At any rate, I'm trying to trick this thing into displaying the
> attachment as inline. Maybe that will work?
>
> I have to figure out the proper string for the attachment type though:
>
> create or replace function send(
> p_from in varchar2,
> p_to in varchar2,
> p_cc in varchar2,
> p_bcc in varchar2,
> p_subject in varchar2,
> p_body in varchar2,
> p_smtp_host in varchar2,
> p_attachment_data in bfile,
> p_attachment_type in varchar2,
> p_attachment_file_name in varchar2) return number
> as
> language java name 'mail.send( java.lang.String,
> java.lang.String,
> java.lang.String,
> java.lang.String,
> java.lang.String,
> java.lang.String,
> java.lang.String,
> oracle.sql.BFILE,
> java.lang.String,
> java.lang.String
> ) return oracle.sql.NUMBER';
If you access to the metalink, lookup docid 120994.1
Regards
/Rauf
Received on Wed Jun 29 2005 - 11:51:17 CDT