Dart Smtp, Pop, Imap Controls
Certificate Event
Description
Fires when the remote host is requesting a certificate and the Certificate property is not set to a valid Certificate Object.
Syntax
Visual Basic
Public Event Certificate()
Remarks
This event is used to set a certificate on demand. In some cases a server will request that the client authenticate, and it may not be desirable to set the Certificate property unless necessary.
Example
Private Sub SecureTcp1_Certificate ( )
	Dim Store As New CertificateStore
	'Get the desired certificate
	SecureTcp1.Certificate = Store.Find("ROOT", locationLocalMachine, g_SavedIssuedBy, g_SavedSerialNumber)
	'Or you could pop up a list box so the user could select a certificate
End Sub
See Also

Imap Object  | Imap Members


PowerTCP Mail for ActiveX Documentation Version 2.13
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic