Skip to content

Use the Word Processing Document API to send a mail-merge document as an e-mail.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/word-document-api-send-mail-merge-document-as-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Processing Document API - Send a Mail-Merge Document as an E-mail

This code example shows how to transfer the mail-merge document into Outlook using Outlook Interop API and Word Processing File API.

Important

The Universal Subscription or an additional Office File API Subscription is required to use this example in production code. For pricing information, please refer to the DevExpress Subscription page.

Implementation Details

The Outlook Interpop API prepares a mail item based on the RichEditDocumentServer content. Images are processed using a custom IUriProvider Interface implementor. Convert native images into Outlook mail item attachments. Refer to the following web articles to learn how to deal with the Outlook-related part of this solution:

Files to Review

C# Visual Basic
Form1.cs Form1.vb
RichEditMailMessageExporter.cs RichEditMailMessageExporter.vb

Documentaton

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)