DirectSendServerConfigEnableStartTls Property
Gets or sets whether direct send will occur via SSL/TLS if this is supported by the MX server.

Namespace: MailBee.SmtpMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public bool EnableStartTls { get; set; }

Property Value

Type: Boolean
If true, MailBee will use UseStartTlsIfSupported mode when connecting to SMTP MX servers; otherwise, Manual (no SSL/TLS). The default value is false.

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