Instructs to use secure SSL connection.
Changes port to default SSL port (465) for SMTP protocol.
Namespace: Limilabs.Mail.FluentAssembly: Mail (in Mail.dll) Version: 3.0.12102.1426
Syntax
| C# |
|---|
INewSmtp WithSSL( ServerCertificateValidateEventHandler certificateValidateEventHandler ) |
| Visual Basic |
|---|
Function WithSSL ( _ certificateValidateEventHandler As ServerCertificateValidateEventHandler _ ) As INewSmtp |
| Visual C++ |
|---|
INewSmtp^ WithSSL( ServerCertificateValidateEventHandler^ certificateValidateEventHandler ) |
Parameters
- certificateValidateEventHandler
- Type: Limilabs.Client..::..ServerCertificateValidateEventHandler
Event which is called for custom server validation.