Skip to main content

PrintingSystemBase.ExportToMail(MailMessageExportOptions) Method

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

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public AlternateView ExportToMail(
    MailMessageExportOptions options
)

Parameters

Name Type Description
options MailMessageExportOptions

A MailMessageExportOptions object.

Returns

Type Description
AlternateView

A AlternateView object.

Remarks

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

See Also