Class EmailExportOptions
SMTP server options for sending the report by mail
Inheritance
System.Object
EmailExportOptions
Namespace: FastReport.Web
Assembly: FastReport.OpenSource.Web.dll
Syntax
public sealed class EmailExportOptions
Properties
Address
The address from which the e-mail will be sent
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EnableSSL
Determines whether to enable the SSL protocol.
Declaration
public bool EnableSSL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
The default value for this property is false.
Host
SMTP host name or IP address.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MessageTemplate
Template that will be used to create a new message.
Declaration
public string MessageTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The name that will appear next to the address from which the e-mail is sent.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This property contains your name (for example, "John Smith").
Password
SMTP server password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Port
SMTP port.
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The default value for this property is 25.
Username
SMTP account username.
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |