New to Telerik ReportingStart a free 30-day trial

Contains email configuration parameters for sending rendered reports via email through the reporting service.

Definition

Namespace:Telerik.Reporting.Services.WebApi

Assembly:Telerik.Reporting.Services.WebApi.dll

Syntax:

C#
public class SendDocumentArgs

Inheritance: objectSendDocumentArgs

Constructors

C#
public SendDocumentArgs()

Properties

Body

string

Gets or sets the main content text for the email message body.

C#
public string Body { get; set; }
Property Value:

A string containing the message body text that will accompany the report attachment. Can include plain text or HTML content depending on the email client configuration.

Cc

string

Gets or sets the carbon copy recipient email addresses for the message.

C#
public string Cc { get; set; }
Property Value:

A string containing one or more email addresses separated by semicolons or commas. These addresses will receive a copy of the message with the report attachment. Can be null or empty if no carbon copy recipients are needed.

From

string

Gets or sets the sender's email address for the outgoing message.

C#
public string From { get; set; }
Property Value:

A string containing the email address that will appear in the From field of the sent message. Should be a valid email address format (e.g., "sender@example.com").

Subject

string

Gets or sets the subject line text for the email message.

C#
public string Subject { get; set; }
Property Value:

A string containing the subject text that will appear in the email header. Should provide a clear description of the report content being sent.

To

string

Gets or sets the primary recipient email addresses for the message.

C#
public string To { get; set; }
Property Value:

A string containing one or more email addresses separated by semicolons or commas. These addresses will receive the report document as an attachment.