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 attach multiple files in UTL_MAIL.SEND_ATTACH_VARCHAR2 method

910815Jan 13 2012 — edited Jan 13 2012
Hi all ,

I had written a pl/sql where it will write multiple csvs i.e. a.csv,b.csv,c.csv,d.csv to a location using UTL_FILE to reports folder .

How do i attach a.csv,b.csv,c.csv,d.csv into a single mail ??


UTL_MAIL.send_attach_raw (sender => 'sender@abc.com.sg',
recipients => 'recepient.com.sg',
subject => 'Reports',
MESSAGE => 'Reports are attached above',
mime_type => 'text/html; charset=UTF8',
attachment => a.csv,
att_inline => FALSE,
att_filename => file1
);

Edited by: 907812 on 12-Jan-2012 23:03

Edited by: 907812 on 12-Jan-2012 23:03

Edited by: 907812 on 12-Jan-2012 23:04

Edited by: 907812 on 12-Jan-2012 23:04
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 10 2012
Added on Jan 13 2012
2 comments
1,354 views