I have a seemingly simple question that I cannot figure out the answer to. I am using <Inet.au3> to create and send an email log to myself. Everything works dandy but I want to parse an array earlier in my script to attach to the email (no more than a filtered file listing). So here is what I have:
AutoIt
#include <File.au3> #include <Array.au3> #include <Inet.au3> ; ############################################################################## ; ; ; ; ; ############################################################################## ; Global Vars ; Generate Versioning List ; Now run function against each found version FailedReporter() ; ########################################## ; FUNCTIONS ; ########################################## ;_ArrayDisplay($aFileList1) FailedEmailer() ; Convert array count to integer $iLineCtrl = $iLineCtrl + 1 ;MsgBox(0,"",$aFileList1[$i]) $as_Body[$iLineCtrl] = $aFileList1[$i] ; doesn't work! Local $Response = _INetSmtpMail($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body, "", -1)
$as_Body[$iLineCtrl] = $aFileList1[$i] is where I am getting stuck. I assume because I cannot pass an array directly to $as_Body. Any solutions to my challenge?
Thanks!