A simple class to convey SMTP email setup information for configuring the system to send email notifications.
More...
|
| | SmtpSetup () |
| | Initializes a new instance of the SmtpSetup class. More...
|
| |
| | SmtpSetup (SmtpNetworkElement config, bool useSsl) |
| | Initializes a new instance of the SmtpSetup class. More...
|
| |
| | SmtpSetup (string host, int port, string userName, string password, bool useSsl) |
| | Initializes a new instance of the SmtpSetup class. More...
|
| |
| void | GetObjectData (SerializationInfo info, StreamingContext context) |
| | Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. More...
|
| |
|
| string | Host [get, set] |
| | Gets or sets the host. More...
|
| |
| int | Port [get, set] |
| | Gets or sets the port. More...
|
| |
| string | UserName [get, set] |
| | Gets or sets the name of the user. More...
|
| |
| string | Password [get, set] |
| | Gets or sets the password. More...
|
| |
| bool | UseSsl [get, set] |
| | Gets or sets a value indicating whether use SSL to connect to the SMTP server. More...
|
| |
A simple class to convey SMTP email setup information for configuring the system to send email notifications.
◆ SmtpSetup() [1/4]
| Apac.Configuration.SmtpSetup.SmtpSetup |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inlineprotected |
Initializes a new instance of the SmtpSetup class.
- Parameters
-
| info | The information. |
| context | The context. |
◆ SmtpSetup() [2/4]
| Apac.Configuration.SmtpSetup.SmtpSetup |
( |
| ) |
|
|
inline |
Initializes a new instance of the SmtpSetup class.
◆ SmtpSetup() [3/4]
| Apac.Configuration.SmtpSetup.SmtpSetup |
( |
SmtpNetworkElement |
config, |
|
|
bool |
useSsl |
|
) |
| |
|
inline |
Initializes a new instance of the SmtpSetup class.
- Parameters
-
| config | The network setup from the configuration file. |
| useSsl | if set to true use SSL to connect to the SMTP server. |
◆ SmtpSetup() [4/4]
| Apac.Configuration.SmtpSetup.SmtpSetup |
( |
string |
host, |
|
|
int |
port, |
|
|
string |
userName, |
|
|
string |
password, |
|
|
bool |
useSsl |
|
) |
| |
|
inline |
Initializes a new instance of the SmtpSetup class.
- Parameters
-
| host | The host. |
| port | The port. |
| userName | Name of the user. |
| password | The password. |
| useSsl | if set to true use SSL to connect to the SMTP server. |
◆ GetObjectData()
| void Apac.Configuration.SmtpSetup.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
- Parameters
-
| info | The T:System.Runtime.Serialization.SerializationInfo to populate with data. |
| context | The destination (see T:System.Runtime.Serialization.StreamingContext) for this serialization. |
◆ Host
| string Apac.Configuration.SmtpSetup.Host |
|
getset |
Gets or sets the host.
The host.
◆ Password
| string Apac.Configuration.SmtpSetup.Password |
|
getset |
Gets or sets the password.
The password.
◆ Port
| int Apac.Configuration.SmtpSetup.Port |
|
getset |
Gets or sets the port.
The port.
◆ UserName
| string Apac.Configuration.SmtpSetup.UserName |
|
getset |
Gets or sets the name of the user.
The name of the user.
◆ UseSsl
| bool Apac.Configuration.SmtpSetup.UseSsl |
|
getset |
Gets or sets a value indicating whether use SSL to connect to the SMTP server.
true if [use SSL]; otherwise, false.
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/apac/APAC/APACCore/Configuration/SmtpSetup.cs