Class
SendEmail

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:

cs-api-definition
public class SendEmail

Inheritance: objectSendEmail

Constructors

SendEmail()

The default constructor.

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

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

Enabled

Indicates whether to show the send e-mail button

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

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

Property Value

string