Skip to Main Content

Integration

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!

Sending CSV as an attachment to email

648790Jun 19 2009 — edited Jun 30 2009
Hi All,

We have a requirement to read the data from the Database and convert it into CSV using File adapter writting it to some location and then we have to send the converted CSV as an attachment to an user.

As i am able to retrieve data and then convert it to CSV and able to write to some location but not able to send the CSV as an attchment to user as i have hardcored the filename in the bodypart[2] and using the variable used to write the CSV file as an contentBody in part[2] for sending email.

The user is getting mail with CSV as attachment but with no data.

Any help in this highly appreciated.

Regards,
Nagaraju .D
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 28 2009
Added on Jun 19 2009
1 comment
1,233 views