cancel
Showing results for 
Search instead for 
Did you mean: 

Convert and attach an Outlook MSG file

DavideDeLuca
Advisor
Advisor

Hi Community,

I am currenty working on SAP CRM 7.1 and have a requirement related on handling emails and file attachment in the Outlook MSG format.

In particular, we have to create and send an email with inside another email, attached with format .msg. The outcome is to make sure that the end-user can easily check the attachment via a double-click in his Outlook client.

Using the API Class CL_DOCUMENT_BCS, I've been able to do it using attachments in either HTML or PDF format. Is it possible to convert the mail content in the format MSG with the ABAP API, in a way that can be attached to another email? Could you please advise on it?

Accepted Solutions (1)

Accepted Solutions (1)

raymond_giuseppi
Active Contributor

As .msg is outlook microsoft format could you consider using ole2 (connection to an outlook exe required) else ask your collegues at SAP if they have already created such tool, or even look at microsoft library for [MS-OXMSG]: Outlook Item (.msg) File Format and then provide us the tool, thank you in advance.

NB: An alternative would be creation of a pre-filled html shortcut that start send of a message with some data (a RFC 2368 mailto: shortcut with subject, body, CC, etc.)

Answers (0)