DirectSendServerConfigEnableStartTls Property |
Gets or sets whether direct send will occur via SSL/TLS if this is supported by the MX server.
Namespace: MailBee.SmtpMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool EnableStartTls { get; set; }
Public Property EnableStartTls As Boolean
Get
Set
Property Value
Type:
BooleanIf
true, MailBee will use
UseStartTlsIfSupported mode when connecting to SMTP MX servers; otherwise,
Manual (no SSL/TLS). The default value is
false.
Remarks Sending SMTP traffic via SSL/TLS layer is more secure but it requires more resources and degrades sending performance.
This property has no effect for sending via SMTP relay server (i.e. when you specified the SMTP server explicitly with SmtpServers property).
To access DirectSendServerConfig object,
use Smtp.DirectSendDefaults property.
See Also