![]() |
Chilkat HOME Android™ AutoIt C C# C++ Chilkat2-Python CkPython Classic ASP DataFlex Delphi DLL Go Java Node.js Objective-C PHP Extension Perl PowerBuilder PowerShell PureBasic Ruby SQL Server Swift Tcl Unicode C Unicode C++ VB.NET VBScript Visual Basic 6.0 Visual FoxPro Xojo Plugin
(AutoIt) Transition from MailMan.FetchMultipleMime to MailMan.FetchMimeBdProvides instructions for replacing deprecated FetchMultipleMime method calls with FetchMimeBd. Note: This example requires Chilkat v11.0.0 or greater.
$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") ; ------------------------------------------------------------------------ ; The FetchMultipleMime method is deprecated: Local $oSaMime = $oMailman.FetchMultipleMime($oSaUidls) If ($oMailman.LastMethodSuccess = False) Then ConsoleWrite($oMailman.LastErrorText & @CRLF) Exit EndIf ; ... ; ... ; ------------------------------------------------------------------------ ; Do the equivalent using FetchMimeBd. Local $bSuccess = False $oBdMime = ObjCreate("Chilkat.BinData") Local $iNumUidls = $oStUidls.Count Local $i = 0 While $i < $iNumUidls $bSuccess = $oMailman.FetchMimeBd($oStUidls.StringAt($i),$oBdMime) ; ... ; ... $i = $i + 1 Wend |
© 2000-2025 Chilkat Software, Inc. All Rights Reserved.