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.
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:
- How to embed image in HTML body in C# into Outlook mai
- Attach stream data with Outlook mail client
- How to embed images in email
C# | Visual Basic |
---|---|
Form1.cs | Form1.vb |
RichEditMailMessageExporter.cs | RichEditMailMessageExporter.vb |
(you will be redirected to DevExpress.com to submit your response)