AutoIt
AutoIt
Example: MailMan.FetchAll method
Demonstrates how to call the FetchAll method.Chilkat AutoIt Downloads
Local $bSuccess = False
$bSuccess = False
$oMailman = ObjCreate("Chilkat.MailMan")
; Setup mailman with POP3 server and login settings...
; ...
; ...
$oBundle = ObjCreate("Chilkat.EmailBundle")
Local $bKeepOnServer = True
Local $bHeadersOnly = False
; numBodyLines only applies if downloading headers-only.
Local $iNumBodyLines = 0
$bSuccess = $oMailman.FetchAll($bKeepOnServer,$bHeadersOnly,$iNumBodyLines,$oBundle)
If ($bSuccess = False) Then
ConsoleWrite($oMailman.LastErrorText & @CRLF)
Exit
EndIf
; ...
; ...