Share via

Unable to render .MSG files via "https://view.officeapps.live.com/op/embed.aspx?src=[MSG file URL]" on HTML iframe

Anonymous
2020-11-06T07:16:32+00:00

Hi,

I have to render some office files( .doc, .ppt, .xls, .msg, .eml)  which are publicly accessible documents on the browser. 

I was using iframe like below and it rendered all the documents except the mail files(.msg and .eml)

Below 3 are working:- (.doc, .xls,.ppt):-


<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=https://file-examples-com.github.io/uploads/2017/02/file-sample_100kB.doc' width='100%' height='500vh' frameborder='0'></iframe>

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=https://file-examples-com.github.io/uploads/2017/02/file_example_XLS_10.xls' width='100%' height='500vh' frameborder='0'></iframe> 

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=https://file-examples-com.github.io/uploads/2017/08/file_example_PPT_1MB.ppt' width='100%' height='500vh' frameborder='0'></iframe>

.msg is not working:- ( below is not working) - giving error as file not found( but this is a public URL)


 <iframe src='https://view.officeapps.live.com/op/embed.aspx?src=https://github.com/bbottema/outlook-message-parser/raw/master/src/test/resources/test-messages/S_MIME%20test%20message%20encrypted.msg' width='100%' height='500vh' frameborder='0'></iframe>

Please Help me in this scenario???

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2020-11-06T11:08:21+00:00

    Hi Sanchit Jaiswal,

    Thank you for your reply. As per your mentioned reply description, yes, this is our dedicated Office developer community about your mentioned concern.

    Regards,

    Darpan

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-11-06T10:21:21+00:00

    HI,

    It is taking me to stackoverflow for answering the question?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-11-06T10:04:32+00:00

    Hi Sanchit Jaiswal,

    Have a good day. Welcome to the forum community.

    According to your mentioned description, seems like it is related with code and since we have dedicated Office developer community forum about your mentioned concern. So, we would recommend you to please contact to our dedicated support form community for further assistant. Our dedicated expert will further guide and provide you information regarding your mentioned concern. We will highly appreciated your cooperation and understanding in our forum community.

    Regards,

    Darpan

    Was this answer helpful?

    0 comments No comments