Email output pdf [message #351975] |
Sat, 04 October 2008 03:00 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kittu915
Messages: 51 Registered: February 2006 Location: Hyderabad,India
|
Member |
|
|
Hi all,
How can we send the concurrent program (report) output(.pdf)
to a email address when report was submitted?
Please can any help in this...
I did using UTL_MAIL API but that was for upto 32kb .
Thanks,
Kittu.
|
|
|
Re: Email output pdf [message #351984 is a reply to message #351975] |
Sat, 04 October 2008 09:58 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kjoy
Messages: 11 Registered: September 2008
|
Junior Member |
|
|
Kittu
There are many options to sent the concurrent program output to the email recipients.
1. Use the workflow to lunch the report and last node should be used for sending email . You need to code in such way that to get the report output and store in a table column and send that out put as an email .
2. Create a shell script to copy the report output from out directory and you can use use the mail utilities to send emails. Register as a host concurrent program with the shell script and include in a request set . you need to pass the request id and location of the out directory to this program to send email.
Here is very useful link
http://oracle.anilpassi.com/email-output-of-concurrent-program-request-2.html
3. Create another printer type , this should have custom driver and should have an argument to invoke a shell script copy the output from the out directory and send emails to the recipients.
Look at this metalink notes
https://metalink2.oracle.com/metalink/plsql/f?p=200:27:6310452058764939485::::p27_id,p27_show_header,p27_show_help:589887.993,1,1
https://metalink2.oracle.com/metalink/plsql/f?p=200:27:6310452058764939485::::p27_id,p27_show_header,p27_show_help:705949.992,1,1
https://metalink2.oracle.com/metalink/plsql/f?p=200:27:6310452058764939485::::p27_id,p27_show_header,p27_show_help:657394.993,1,1
4. You can create a shell script copy the file from the out directory and invoke an FTP Session and FTP the file to recipient’s FTP location . This will work for very large files .
You can refer these notes for additional info.
Note.1053277.6 HOW TO EMAIL A REPORT IN PDF OR HTML FORMAT
Note.1037049.6 WHAT IS THE SYNTAX FOR SENDING MAIL TO MULTIPLE RECIPIENTS
Note.1035315.6 HOW TO SEND REPORT IN EMAIL WITHOUT LOSING FORMATTING
Note 106549.1 How to send Oracle Reports output via email in specific format other than eps?
Thanks
Joy
|
|
|
|
|
Re: Email output pdf [message #352308 is a reply to message #352250] |
Tue, 07 October 2008 00:52 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
kittu915
Messages: 51 Registered: February 2006 Location: Hyderabad,India
|
Member |
|
|
Joy,
Thanks for your reply.
Anyhow i have to do some R&D work on it ![Smile](images/smiley_icons/icon_smile.gif)
I was thinking that upto 32kb was successful with pl/sql then y can't we do for more size... thats it.
So shell will be the replacement,right?
Thanks again,
Kittu.
|
|
|