SmtpConfiguration Class
Namespace: Rebex.Net
Assembly: Rebex.Smtp.dll (version 7.0.9083)
Represents configuration settings for one of the Smtp object's static Send methods.
Syntax
public class SmtpConfiguration
Inherited 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. |
Properties
Name | Description |
---|---|
AuthenticationMethod | Gets or sets the authentication method. |
ClientCertificate | Gets or sets the client certificate chain. |
Default | Gets the default SmtpConfiguration instance read from application configuration file. |
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. |
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. |
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. |
UseDefaultCredentials | Gets or sets the value indicating whether to use the credentials of the current user to log in. |
UserName | Gets or sets the user name used for SMTP authentication. |