Class EmailOptions
Represents the email options in the application settings.
Inherited Members
Namespace: DataWeb.Configuration
Assembly: DataWeb.Core.dll
Syntax
public class EmailOptions
Properties
ApiKey
Gets or sets the email API key.
Declaration
public string ApiKey { get; set; }
Property Value
Type | Description |
---|---|
string |
IsSaveAsFile
Gets or sets a value indicating whether emails should be saved as files instead of being sent.
Declaration
public bool IsSaveAsFile { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsServerEnableSsl
Gets or sets a value indicating whether SSL is enabled for the email server.
Declaration
public bool IsServerEnableSsl { get; set; }
Property Value
Type | Description |
---|---|
bool |
SaveAsFileLocation
Gets or sets the file location for saving emails as files.
Declaration
public string SaveAsFileLocation { get; set; }
Property Value
Type | Description |
---|---|
string |
SenderAddress
Gets or sets the sender's email address for email notifications.
Declaration
public string SenderAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
SenderName
Gets or sets the sender's name for email notifications.
Declaration
public string SenderName { get; set; }
Property Value
Type | Description |
---|---|
string |
ServerHost
Gets or sets the email server host.
Declaration
public string ServerHost { get; set; }
Property Value
Type | Description |
---|---|
string |
ServerPassword
Gets or sets the email server password.
Declaration
public string ServerPassword { get; set; }
Property Value
Type | Description |
---|---|
string |
ServerPort
Gets or sets the email server port.
Declaration
public string ServerPort { get; set; }
Property Value
Type | Description |
---|---|
string |
ServerUserName
Gets or sets the email server username.
Declaration
public string ServerUserName { get; set; }
Property Value
Type | Description |
---|---|
string |
Template
Gets or sets the email template.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
string |