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

Transition from MailMan.LoadMime to Email.SetFromMimeText

Provides instructions for replacing deprecated LoadMime method calls with Email.SetFromMimeText.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oMailman = ObjCreate("Chilkat.MailMan")

;  ...
;  ...

Local $sMimeText = "...."

;  ------------------------------------------------------------------------
;  The LoadMime method is deprecated:

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

;  ...
;  ...

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

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