Click or drag to resize

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
)

Parameters

certificateValidateEventHandler
Type: Limilabs.ClientServerCertificateValidateEventHandler
Event which is called for custom server validation.

Return Value

Type: INewSmtp
SMTP connection configuration.
See Also