Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to send email with attachments from ORACLE DIRECTORY using pl/sql

734944Nov 18 2009 — edited Nov 19 2009
Hi,

I have created a Oracle directory "dir_temp"
create or replace directory dir_temp as 'c:\temp';

I am able to create a csv file in this directory as "test.scv" using utl_file and some select statements.

Now I need to send this csv file as an attachment in email.
we have smtp installed on our server.

Can any one help on how to acheive this?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2009
Added on Nov 18 2009
4 comments
4,504 views