Creating a new Microsoft Word document from a template using OpenXml

When working with Microsoft Word automation there is often the requirement to create documents from define templates. With the addition of the OpenXml specification it is now possible to do this safely within server side code. In a recent project I came across this requirement where a new Word document needed to be created based…


Sending an Email from within Microsoft Word – with the Word document attached

Recently whilst working on a project I had the requirement to send an email from within Word, initiated from the Ribbon command, that contained the Word document as an attachment. Whilst sending an SMTP message was straight forward enough the challenge became accessing the currently active document, as a Stream, without first closing the document…