AutoIt
AutoIt
Transition from Email.GetDt to Email.EmailDateStr
Provides instructions for replacing deprecated GetDt method calls with EmailDateStr.Chilkat AutoIt Downloads
$oEmail = ObjCreate("Chilkat.Email")
; ...
; ...
; ------------------------------------------------------------------------
; The GetDt method is deprecated:
Local $oDateTimeObj = $oEmail.GetDt()
If ($oEmail.LastMethodSuccess = False) Then
ConsoleWrite($oEmail.LastErrorText & @CRLF)
Exit
EndIf
; ...
; ...
; ------------------------------------------------------------------------
; Do the equivalent using EmailDateStr.
$oDt = ObjCreate("Chilkat.CkDateTime")
$oDt.SetFromRfc822($oEmail.EmailDateStr)