The requested page is not available for the requested platform. You are viewing the content for Default platform.

XtraReport.ExportToMail(String, String, String) Method

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll


public MailMessage ExportToMail(
    string from,
    string to,
    string subject
Public Function ExportToMail(
    from As String,
    to As String,
    subject As String
) As MailMessage


Name Type Description
from String

A String value, specifying the sender.

to String

A String value, specifying a comma-separated list of recipients.

subject String

A String value, specifying the e-mail subject.


Type Description

A MailMessage 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.

See Also