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