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.
Inheritance
Namespace: Telerik.ReportViewer.Html5.WebForms
Assembly: Telerik.ReportViewer.Html5.WebForms.dll
Syntax
public class SendEmail
Remarks
Contains email message configuration properties that enable users to send reports directly from the HTML5 viewer toolbar with customizable default values.
Constructors
SendEmail()
Initializes a new instance of the SendEmail class with default settings.
Declaration
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
public string Body { get; set; }
Property Value
|
System.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
public string CC { get; set; }
Property Value
|
System.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
public bool Enabled { get; set; }
Property Value
|
System.Boolean
|
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
public string Format { get; set; }
Property Value
|
System.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
public string From { get; set; }
Property Value
|
System.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
public string Subject { get; set; }
Property Value
|
System.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
public string To { get; set; }
Property Value
|
System.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.