This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I'm facing a problem with the email tool, mainly with the attachment option.
I need to attach a word document to send several emails, the problem is when I sent the emails the files are corrupted and people can't open it, I tried converting to pdf but no success and also I tried saving the files in One Drive but didn't work.
I'm curious because when I attached an excel file then the people receive the email with the attachment working correctly.
Below is a screenshot of the error, the file in my computer works well and I can open it without any problem so I don't know if it's something Alteryx does when sending the email:
Please let me know if you need more details and thanks for the help!
I just made this sample workflow that emails me an excel file and the file opens without any issues. Just be sure to change the email settings in the configuration. Also, don't forget to update where you save the file to.
Thanks for the response. In this instance I only have one email in the to and from fields. This error only happened when I attached a body field as previously suggested to fix the error. Could there be anything else causing that error?
I'm using Alteryx version 2019.3.5.17947 and I have the same problem with corrupted attachments. I use "block until done" and render to save the file (pdf) to my shared drive and then I send it using e-mail tool (file directory is provided in the attachment window).
- For the corrupted attachment, try the workaround documented in this post.
- For error "Failed sending data to the peer": you are running into a known defect.
The Email tool throws error "Failed sending data to the peer" when a comma is used to separate multiple email addresses in the Cc: and Bcc: fields; the To: field works as expected with comma-separated email addresses.
Cause: Defect: DE21917. Status: Open. Defect is target for resolution in future release. Workaround: Use semicolons as delimiters.