Skip to Content

Open Outlook with attachment

Oct 02, 2017 at 08:46 AM


avatar image

Hi experts

I have a Webdynpro question regarding Outlook:

Is it in any way possible to open an Outlook email with an attachement from Webdynpro ABAP? My initial answer is no - but i would like to be sure if i am missing something.

What i want is to create a list documents. And when the user selects one or more of theese documents there should be a button who starts up an Outlook email with the selected PDF docs as attachment.

Any ideas how to?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Mike Pokraka Oct 02, 2017 at 11:24 AM

My thoughts are no, not using pure WD. But I could be wrong..
You would need some Microsoft specific functionality, and much of the goal of WDA is platform- and browser independence.

You could construct a mailto link which will open a new mail with a specific recipient, subject and body. A (slightly inconvenient) hack would be to provide the attachment as a draggable element that the user could then just drag onto their email. This keeps it all platform independent.

I guess by including some embedded javascripts you could probably bridge it to interact with Microsoft apps, but I haven't really dug that deep.

10 |10000 characters needed characters left characters exceeded