ConnectEventArgs.DisableStartTls property
Gets or sets a value indicating whether the STARTTLS SMTP verb should not be advertised in the EHLO response.
Namespace: Microsoft.Exchange.Data.Transport.Smtp
Assembly: Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)
Syntax
'Declaration
Public Property DisableStartTls As Boolean
Get
Set
'Usage
Dim instance As ConnectEventArgs
Dim value As Boolean
value = instance.DisableStartTls
instance.DisableStartTls = value
public bool DisableStartTls { get; set; }
Property value
Type: System.Boolean
true if STARTTLS should not be advertised; otherwise false.