Skip to Content
Apr 18, 2009 at 11:57 AM

Sending PDF + Excel as Email attachments in Unicode System



I have a problem in sending mails having 2 attachments. one with PDF and another Excel. I use SO_DOCUMENT_SEND_API1 by populating contents_bin table. PDF attachment is fine (PDF is created from spool), but excel attachment fails to open correctly. I refered note 1151258, but not successfull.

When I tried using contents_hex as suggested in report SENDLIST, the PDF attachment is corrupted.

The above method works fine in non-unicode system. But not in a unicode system.

In short I want to send two attachments (one PDF by reading spool and second excel by using an interanl table) in a mail. Any ideas & suggestions please?