Class EmailSettings
Contains the email settings such as recipient(s) address, name, subject, message body.
Inheritance
System.Object
EmailSettings
Namespace: FastReport
Assembly: FastReport.dll
Syntax
[TypeConverter(typeof(FRExpandableObjectConverter))]
public class EmailSettings
Constructors
EmailSettings()
Initializes a new instance of the EmailSettings class with default settings.
Declaration
public EmailSettings()
Properties
Message
Gets or sets the message body.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Recipients
Gets or sets the recipient(s) email addresses.
Declaration
public string[] Recipients { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |
Remarks
This property contains one or several email addresses in the following form: "john@url.com".
Subject
Gets or sets the message subject.
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Assign(EmailSettings)
Copies email settings from another source.
Declaration
public void Assign(EmailSettings source)
Parameters
Type | Name | Description |
---|---|---|
EmailSettings | source | Source to copy settings from. |
Clear()
Resets all settings to its default values.
Declaration
public void Clear()