The SmtpConfiguration type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SmtpConfiguration()()()() |
Creates a new instance of SmtpConfiguration class.
| |
SmtpConfiguration(SmtpConfigurationSource) |
Creates a new instance of SmtpConfiguration class and fills it with values read from the specified source.
| |
SmtpConfiguration(SmtpConfigurationSource, SmtpDeliveryEngine) |
Creates a new instance of SmtpConfiguration class and fills it with values read from the specified source
and with the specified SmtpDeliveryEngine.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AuthenticationMethod |
Gets or sets the authentication method.
| |
ClientCertificate |
Gets or sets the client certificate chain.
| |
DeliveryEngine |
Gets or sets the delivery engine.
| |
DeliveryMethod |
Gets or sets the delivery method.
| |
From |
Gets or sets the message sender address.
| |
LogWriter |
Gets or sets the LogWriter instance.
| |
Options | ||
Parameters |
Gets or sets the security parameters.
| |
Password |
Gets or sets the password used for SMTP authentication.
| |
PickupDirectoryPath |
Gets or sets the pickup directory path (used with SmtpDeliveryMethod.IisPickupDirectory).
| |
Proxy |
Gets or sets the network proxy to use to access a remote server.
| |
Security | Obsolete. | |
ServerName |
Gets or sets the server address - a hostname or a dotted string address.
| |
ServerPort |
Gets or sets the server port (e.g. 25).
| |
Settings |
Gets or sets Smtp settings.
| |
SslMode |
Gets or sets the connection security mode.
| |
UserName |
Gets or sets the user name used for SMTP authentication.
|