New to Telerik ReportingStart a free 30-day trial

Provides configuration options for the send email functionality within the HTML5 WebForms ReportViewer. Used to configure email settings including enabled state, preselected rendering format, and default email addresses for report sharing via email.

Definition

Namespace:Telerik.ReportViewer.Html5.WebForms

Assembly:Telerik.ReportViewer.Html5.WebForms.dll

Syntax:

C#
public class SendEmail

Inheritance: objectSendEmail

Constructors

Initializes a new instance of the SendEmail class with default settings.

C#
public SendEmail()

Properties

Body

string

A string used for the MailMessage Body value. This field is optional. The users can modify this value in the Send Mail Message dialog. The SendMailMessage implementation should accept the specified e-mail body.

C#
public string Body { get; set; }
Remarks:

Provides an optional default message body that users can modify in the Send Mail Message dialog. The SendMailMessage implementation must accept the specified email body.

CC

string

A valid e-mail for the e-mail message CC address. This field is optional. The users can modify this value in the Send Mail Message dialog. The SendMailMessage implementation should accept the specified CC e-mail addresses.

C#
public string CC { get; set; }
Remarks:

Provides an optional default CC address that users can modify in the Send Mail Message dialog. The SendMailMessage implementation must accept the specified CC email addresses.

Gets or sets a value indicating whether the send email button is visible and enabled in the HTML5 viewer toolbar.

C#
public bool Enabled { get; set; }
Remarks:

When enabled, displays the send email button in the HTML5 viewer toolbar allowing users to email reports directly from the viewer interface.

Format

string

The preselected rendering format. The users can modify this value in the Send Mail Message dialog.

C#
public string Format { get; set; }
Remarks:

Specifies the default document format for email attachments that users can modify in the Send Mail Message dialog before sending the report.

From

string

A valid e-mail for the e-mail message FROM address. This field is required if empty the user should set it in the Send Mail Message dialog. The users can modify this value in the Send Mail Message dialog. The SendMailMessage implementation should accept the specified FROM e-mail address.

C#
public string From { get; set; }
Remarks:

Provides a default sender address that users can modify in the Send Mail Message dialog. If empty, users must specify the FROM address before sending. The SendMailMessage implementation must accept the specified FROM email address.

Subject

string

A string used for the MailMessage Subject value. This field is optional. The users can modify this value in the Send Mail Message dialog. The SendMailMessage implementation should accept the specified e-mail subject.

C#
public string Subject { get; set; }
Remarks:

Provides an optional default subject that users can modify in the Send Mail Message dialog. The SendMailMessage implementation must accept the specified email subject.

To

string

A valid e-mail for the e-mail message TO address. This field is required if empty the user should set it in the Send Mail Message dialog. The users can modify this value in the Send Mail Message dialog. The SendMailMessage implementation should accept the specified TO e-mail address.

C#
public string To { get; set; }
Remarks:

Provides a default recipient address that users can modify in the Send Mail Message dialog. If empty, users must specify the TO address before sending. The SendMailMessage implementation must accept the specified TO email address.