Insert Word document into Outlook email using office.js

Matthew Fitzmaurice 0 Reputation points
2025-04-07T06:24:13.4533333+00:00

Is it possible to insert a Word document into an Outlook email using office.js?

I know how to do it using VBA/VSTO but am struggling in office.js

I can see that HTML can be inserted, but I'm unsure how to convert a Word document to HTML for insertion into the email.

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,058 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.