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

Transition from MailMan.FetchMultipleHeaders to MailMan.FetchUidlSet

Provides instructions for replacing deprecated FetchMultipleHeaders method calls with FetchUidlSet.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oMailman = ObjCreate("Chilkat.MailMan")

;  ...
;  ...

$oSaUidls = ObjCreate("Chilkat.StringArray")
$oSaUidls.Append("aaa")
$oSaUidls.Append("bbb")
$oSaUidls.Append("ccc")

$oStUidls = ObjCreate("Chilkat.StringTable")
$oStUidls.Append("aaa")
$oStUidls.Append("bbb")
$oStUidls.Append("ccc")

Local $iNumBodyLines = 5

;  ------------------------------------------------------------------------
;  The FetchMultipleHeaders method is deprecated:

Local $oBundleObj = $oMailman.FetchMultipleHeaders($oSaUidls,$iNumBodyLines)
If ($oMailman.LastMethodSuccess = False) Then
    ConsoleWrite($oMailman.LastErrorText & @CRLF)
    Exit
EndIf

;  ...
;  ...

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

Local $bHeadersOnly = True

$oBundleOut = ObjCreate("Chilkat.EmailBundle")
$bSuccess = $oMailman.FetchUidlSet($oStUidls,$bHeadersOnly,$iNumBodyLines,$oBundleOut)
If ($bSuccess = False) Then
    ConsoleWrite($oMailman.LastErrorText & @CRLF)
    Exit
EndIf