XtraReport.ExportToMail(MailMessageExportOptions) Method

Exports a document to HTML and then inserts it into a specified e-mail.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v18.1.dll

Syntax

public AlternateView ExportToMail(
    MailMessageExportOptions options
)

Parameters

Type Name Description
MailMessageExportOptions options

A MailMessageExportOptions object.

Returns

Type Description
AlternateView

A AlternateView object.

Once the document export has started, it will run until the resulting document is complete and cannot be interrupted or canceled in the process.