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

Transition from MailMan.GetUidls to MailMan.FetchUidls

Provides instructions for replacing deprecated GetUidls method calls with FetchUidls.

Chilkat PHP ActiveX Downloads

PHP ActiveX
<?php

$success = 0;

$mailman = new COM("Chilkat.MailMan");

//  ...
//  ...

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

// sa is a Chilkat.StringArray
$sa = $mailman->GetUidls();
if ($mailman->LastMethodSuccess == 0) {
    print $mailman->LastErrorText . "\n";
    exit;
}

//  ...
//  ...

//  ------------------------------------------------------------------------
//  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 = new COM("Chilkat.StringTable");
$success = $mailman->FetchUidls($st);
if ($success == 0) {
    print $mailman->LastErrorText . "\n";
    exit;
}


?>