New to Telerik ReportingStart a free 30-day trial

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:

C#
public class SendEmail

Inheritance: objectSendEmail

Constructors

The default constructor.

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; }

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; }

Indicates whether to show the send e-mail button

C#
public bool Enabled { get; set; }

Format

string

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

C#
public string Format { get; set; }

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; }

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; }

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; }