Class SmtpSettings
A email sender settings.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Mail.Configuration
Assembly: Kephas.Mail.dll
Syntax
public class SmtpSettings
Fields
| Improve this Doc View SourceDefaultSmtpPort
The default SMTP port.
Declaration
public const int DefaultSmtpPort = 25
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Improve this Doc View SourceHost
Gets or sets the host.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String | The host. |
Password
Gets or sets the password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | The password. |
Port
Gets or sets the port.
Declaration
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The port. |
SslAcceptAllCertificates
Gets or sets a value indicating whether the ssl accept all certificates.
Declaration
public bool SslAcceptAllCertificates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if ssl accept all certificates, false if not. |
SslAllowedSuites
Gets or sets the ssl allowed suites.
Declaration
public string SslAllowedSuites { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ssl allowed suites. |
SslAllowedVersions
Gets or sets the ssl allowed versions.
Declaration
public string SslAllowedVersions { get; set; }
Property Value
Type | Description |
---|---|
System.String | The ssl allowed versions. |
UserName
Gets or sets the name of the user.
Declaration
public string UserName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the user. |