SupportsStartTLS Property
Indicates whether the SMTP server supports STARTTLS command which lets you switch regular connection into secure connection without the need to connect to a dedicated SSL port.
You must be connected to the server in order to use this property. You can read more on STARTTLS in SSL.UseStartTLS property documentation.
Value Type: | Boolean | |
Parameters: | None | |
Remarks: | This property is read-only |
Usage example:
Dim Mailer 'Using visual basic to create object Set Mailer = CreateObject("MailBee.SMTP") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.SMTP") 'In ASP use Response.Write instead of MsgBox Mailer.LicenseKey = "put your license key here" Mailer.ServerName = "mailserver.com" Mailer.Connect If Mailer.Connected Then If Mailer.SupportsStartTLS Then MsgBox "STARTTLS Supported" Mailer.Disconnect End If
See Also:
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.