I have csv files being created that have a header record than row 2 has corresponding data.
\\servera\csv\*.csv
shippernbr|email|emaillCC|Returnemail|returnemailcc
"091",me@hotmail.com,mecc@hotmail.com,mertn@hotmail.com,mertncc@hotmail.com
I need to format that data into an email then after reading shippernbr value(091) go find that file in
\\servera\pdf directory and send that pdf as an attachment to the email. When completed(email sent) move the csv and pdf to an
archive directory. I'm using PSv2 and would like to log all events to keep a audit trail of what gets sent.
Thanks.