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

Transition from MailMan.LoadXmlEmailString to Email.SetFromXmlText

Provides instructions for replacing deprecated LoadXmlEmailString method calls with Email.SetFromXmlText.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oMailman = ObjCreate("Chilkat.MailMan")

;  ...
;  ...

Local $sXmlStr = "..."

;  ------------------------------------------------------------------------
;  The LoadXmlEmailString method is deprecated:

Local $oEmailObj = $oMailman.LoadXmlEmailString($sXmlStr)
If ($oMailman.LastMethodSuccess = False) Then
    ConsoleWrite($oMailman.LastErrorText & @CRLF)
    Exit
EndIf

;  ...
;  ...

;  ------------------------------------------------------------------------
;  Do the equivalent using Email.SetFromXmlText.

$oEmail = ObjCreate("Chilkat.Email")
$bSuccess = $oEmail.SetFromXmlText($sXmlStr)
If ($bSuccess = False) Then
    ConsoleWrite($oEmail.LastErrorText & @CRLF)
    Exit
EndIf