Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

REST API - ItemAttachment - Download msg file as binary file

$
0
0

Hello,

I have an email with another email as attachment. The original attachment was a .msg file.

I am getting the attachment (an email) using : https://outlook.office365.com/api/v1.0/me/messages/{Message Id}/Attachments('{Attachment Id}')

That attachment is an ItemAttachment (not FileAttachment). I guess Exchange online parsed it. So, it's displayed as an email in the response.

Is there a way to get the original .msg file?

Thanks for any idea.

Best regards,


Viewing all articles
Browse latest Browse all 7589

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>