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

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls.

Chilkat Ruby Downloads

Ruby
require 'chilkat'

success = false

mailman = Chilkat::CkMailMan.new()

#  ...
#  ...

#  ------------------------------------------------------------------------
#  The GetUidls method is deprecated:

# sa is a CkStringArray
sa = mailman.GetUidls()
if (mailman.get_LastMethodSuccess() == false)
    print mailman.lastErrorText() + "\n";
    exit
end

#  ...
#  ...

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

st = Chilkat::CkStringTable.new()
success = mailman.FetchUidls(st)
if (success == false)
    print mailman.lastErrorText() + "\n";
    exit
end