DirectSendServerConfig Class |
Namespace: MailBee.SmtpMail
The DirectSendServerConfig type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (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.) |
Name | Description | |
---|---|---|
EnableStartTls |
Gets or sets whether direct send will occur via SSL/TLS if this is supported by the MX server.
| |
HelloDomain |
Gets or sets the domain string to be used in the EHLO or HELO command when connecting
to the server.
| |
LocalEndPoint |
Gets or sets the local end point which will be used when connecting to SMTP MX servers.
| |
Pipelining |
Gets or sets whether to use commands pipelining if it's supported by the server.
| |
SmtpOptions |
Gets or sets ESMTP options specifying which SMTP extensions
must not be used when communicating with the server.
| |
Timeout |
Gets or sets the amount of time (in milliseconds) the component will wait for a response from the server.
|
When Smtp component sends mail in direct send mode (such as when SmtpServers collection is empty while DnsServers collection is not), it finds SMTP server for each recipient domain through MX lookup against DNS server. The only information returned by the DNS server is SMTP server name and usage preference (if multiple SMTP servers can accept mail for the given domain). The properties of this class allow the developer to specify some additional settings which affect how MailBee will communicate with the SMTP server which was found through MX lookup.
To access DirectSendServerConfig object, use Smtp.DirectSendDefaults property.
Note |
---|
SMTP servers manually added by the developer (i.e. SmtpServers collection) are NOT affected by any members of DirectSendServerConfig class. |