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

Transition from MailMan.LoadXmlString to EmailBundle.LoadXmlString

Provides instructions for replacing deprecated LoadXmlString method calls with EmailBundle.LoadXmlString.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oMailman = ObjCreate("Chilkat.MailMan")

;  ...
;  ...

Local $sXmlBundleStr = "..."

;  ------------------------------------------------------------------------
;  The LoadXmlString method is deprecated:

Local $oBundleObj = $oMailman.LoadXmlString($sXmlBundleStr)
If ($oMailman.LastMethodSuccess = False) Then
    ConsoleWrite($oMailman.LastErrorText & @CRLF)
    Exit
EndIf

;  ...
;  ...

;  ------------------------------------------------------------------------
;  Do the equivalent using EmailBundle.LoadXmlString.

$oBundle = ObjCreate("Chilkat.EmailBundle")
$bSuccess = $oBundle.LoadXmlString($sXmlBundleStr)
If ($bSuccess = False) Then
    ConsoleWrite($oBundle.LastErrorText & @CRLF)
    Exit
EndIf