Class
SendEmail

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:

cs-api-definition
public class SendEmail

Inheritance: objectSendEmail

Constructors

SendEmail()

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

Declaration

cs-api-definition
public SendEmail()

Properties

Body

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.

Declaration

cs-api-definition
public string Body { get; set; }

Property Value

string

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

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.

Declaration

cs-api-definition
public string CC { get; set; }

Property Value

string

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.

Enabled

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

Declaration

cs-api-definition
public bool Enabled { get; set; }

Property Value

bool

Remarks

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

Format

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

Declaration

cs-api-definition
public string Format { get; set; }

Property Value

string

Remarks

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

From

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.

Declaration

cs-api-definition
public string From { get; set; }

Property Value

string

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

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.

Declaration

cs-api-definition
public string Subject { get; set; }

Property Value

string

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

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.

Declaration

cs-api-definition
public string To { get; set; }

Property Value

string

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.