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

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls. The code below uses the replacement API without constructing the deprecated returned array.

Chilkat VBScript Downloads

VBScript
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)

success = 0

set mailman = CreateObject("Chilkat.MailMan")

'  ...
'  ...

'  Replace the deprecated GetUidls method using FetchUidls.
'  Your application creates a new, empty StringTable object which is passed 
'  in the last argument and filled upon success.

set st = CreateObject("Chilkat.StringTable")
success = mailman.FetchUidls(st)
If (success = 0) Then
    outFile.WriteLine(mailman.LastErrorText)
    WScript.Quit
End If


outFile.Close