C# Requires Chilkat v11.0.0+
C#
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 C# Downloads
bool success = false;
Chilkat.MailMan mailman = new 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.
Chilkat.StringTable st = new Chilkat.StringTable();
success = mailman.FetchUidls(st);
if (success == false) {
Debug.WriteLine(mailman.LastErrorText);
return;
}