Click or drag to resize

INewSmtpWithSSL(ServerCertificateValidateEventHandler) Method

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.26106.1555
Syntax
INewSmtp WithSSL(
	ServerCertificateValidateEventHandler certificateValidateEventHandler
)

Parameters

certificateValidateEventHandler  ServerCertificateValidateEventHandler
Event which is called for custom server validation.

Return Value

INewSmtp
SMTP connection configuration.
See Also