ClassSendEmail
Provides a class for the send e-mail message options. Contains the enabled property, the preselected rendering Format, from and to e-mail addresses.
Definition
Namespace:Telerik.ReportViewer.Mvc
Assembly:Telerik.ReportViewer.Mvc.dll
Syntax:
public class SendEmail
Inheritance: objectSendEmail
Constructors
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
string
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
string
Enabled
Indicates whether to show the send e-mail button
Declaration
public bool Enabled { get; set; }
Property Value
bool
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
string
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
string
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
string
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
string