DirectSendServerConfig Class
Provides properties which specify SMTP server settings to be used by Smtp component for SMTP servers found through MX lookup.
Inheritance Hierarchy
SystemObject
  MailBee.SmtpMailDirectSendServerConfig

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public class DirectSendServerConfig

The DirectSendServerConfig type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyEnableStartTls
Gets or sets whether direct send will occur via SSL/TLS if this is supported by the MX server.
Public propertyHelloDomain
Gets or sets the domain string to be used in the EHLO or HELO command when connecting to the server.
Public propertyLocalEndPoint
Gets or sets the local end point which will be used when connecting to SMTP MX servers.
Public propertyPipelining
Gets or sets whether to use commands pipelining if it's supported by the server.
Public propertySmtpOptions
Gets or sets ESMTP options specifying which SMTP extensions must not be used when communicating with the server.
Public propertyTimeout
Gets or sets the amount of time (in milliseconds) the component will wait for a response from the server.
Top
Remarks

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 Note
SMTP servers manually added by the developer (i.e. SmtpServers collection) are NOT affected by any members of DirectSendServerConfig class.
See Also