Skip to content

DevExpress-Examples/reporting-winforms-mailkit-email-report-pdf

Repository files navigation

Reporting for WinForms - How to Use MailKit to Email a Report

This example demonstrates how to email a report with the MailKit email client library. Run the application, enter the SMTP host name, port, smtp credentials if needed, and click Send to email a document to the address you specified earlier in the report export options.

To specify the report export options for email, use the report's ExportOptions.Email property.

Before you click Send, you can choose from two mail options:

The following image shows an email in which the report is included both in the HTML body and as a PDF attachment.

App Screenshot

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

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