Sample code for 30+ languages & platforms
Lianja

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls.

Chilkat Lianja Downloads

Lianja
llSuccess = .F.

loMailman = createobject("CkMailMan")

// ...
// ...

// ------------------------------------------------------------------------
// The GetUidls method is deprecated:

loSa = loMailman.GetUidls()
if (loMailman.LastMethodSuccess = .F.) then
    ? loMailman.LastErrorText
    release loMailman
    return
endif

// ...
// ...

release loSa

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

loSt = createobject("CkStringTable")
llSuccess = loMailman.FetchUidls(loSt)
if (llSuccess = .F.) then
    ? loMailman.LastErrorText
    release loMailman
    release loSt
    return
endif



release loMailman
release loSt