(Xojo Plugin) Transition from MailMan.GetUidls to MailMan.FetchUidls
Provides instructions for replacing deprecated GetUidls method calls with FetchUidls. Note: This example requires Chilkat v11.0.0 or greater.
Dim mailman As New Chilkat.MailMan
// ...
// ...
// ------------------------------------------------------------------------
// The GetUidls method is deprecated:
Dim sa As Chilkat.StringArray
sa = mailman.GetUidls()
If (mailman.LastMethodSuccess = False) Then
System.DebugLog(mailman.LastErrorText)
Return
End If
// ...
// ...
// ------------------------------------------------------------------------
// Do the equivalent using FetchUidls.
// Your application creates a new, empty StringTable object which is passed
// in the last argument and filled upon success.
Dim st As New Chilkat.StringTable
Dim success As Boolean
success = mailman.FetchUidls(st)
If (success = False) Then
System.DebugLog(mailman.LastErrorText)
Return
End If
|