I am currently trying to run a powershell script that generates a csv file, and then send that csv file to an email address. Currently the powershell script is generating the csv file, and I can successfully send an email with no attachments, but when I try to attach the csv file i get this error: Invalid attachment - aborting email.
currently I am creating the file with the powershell script, uploading it, and then trying to send it using the stored %uploadedfile% parameter. the last step is failing. any ideas? any other ways to automate the process of receiving this report? If I