AutoIt
AutoIt
Demonstrates how to call AddPfxSourceData for an Email Object
Demonstrates how to call AddPfxSourceData for an Email ObjectChilkat AutoIt Downloads
Local $bSuccess = False
$oFac = ObjCreate("Chilkat.FileAccess")
Local $oPfxBytes
$oPfxBytes = $oFac.ReadEntireFile("qa_data/pfx/some.pfx")
$oEmail = ObjCreate("Chilkat.Email")
$bSuccess = $oEmail.AddPfxSourceData($oPfxBytes,"PFX_PASSWORD")
If ($bSuccess <> True) Then
ConsoleWrite($oEmail.LastErrorText & @CRLF)
Exit
EndIf
ConsoleWrite("Success." & @CRLF)