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.v18.2.dll

Declaration

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

Parameters

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.

Returns

Type Description
MailMessage

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