Jump to content
ctrubey

Email CSV File Script

Recommended Posts

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 have to I can use the script to automate the process of generating the report, then manually deal with the file transfer process.

Share this post


Link to post
Share on other sites

I am also having this issue. Did you ever figure out how to fix that? Id love to know. thanks 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...