| INewSmtpWithSSL Method (ServerCertificateValidateEventHandler) |
Instructs to use secure SSL/TLS connection.
Changes port to default SSL/TLS port (465) for SMTP protocol.
Namespace:
Limilabs.Mail.Fluent
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax INewSmtp WithSSL(
ServerCertificateValidateEventHandler certificateValidateEventHandler
)
Function WithSSL (
certificateValidateEventHandler As ServerCertificateValidateEventHandler
) As INewSmtp
INewSmtp^ WithSSL(
ServerCertificateValidateEventHandler^ certificateValidateEventHandler
)
abstract WithSSL :
certificateValidateEventHandler : ServerCertificateValidateEventHandler -> INewSmtp
Parameters
- certificateValidateEventHandler
- Type: Limilabs.ClientServerCertificateValidateEventHandler
Event which is called for custom server validation.
Return Value
Type:
INewSmtpSMTP connection configuration.
See Also