Sample code for 30+ languages & platforms
Xojo Plugin Requires Chilkat v11.0.0+

Transition from MailMan.GetPop3SslServerCert to MailMan.GetServerCert

Provides instructions for replacing deprecated GetPop3SslServerCert method calls with GetServerCert.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

Dim mailman As New Chilkat.MailMan

//  ...
//  ...

//  ------------------------------------------------------------------------
//  The GetPop3SslServerCert method is deprecated:

Dim certObj As Chilkat.Cert
certObj = mailman.GetPop3SslServerCert()
If (mailman.LastMethodSuccess = False) Then
    System.DebugLog(mailman.LastErrorText)
    Return
End If

//  ...
//  ...

//  ------------------------------------------------------------------------
//  Do the equivalent using GetServerCert.
//  Your application creates a new, empty Cert object which is passed 
//  in the last argument and filled upon success.

//  We want the POP3 email server certificate..
Dim useSmtp As Boolean
useSmtp = False

Dim certOut As New Chilkat.Cert
success = mailman.GetServerCert(useSmtp,certOut)
If (success = False) Then
    System.DebugLog(mailman.LastErrorText)
    Return
End If