community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Email Tool - Corrupted Attachment

Atom

Hello all,

 

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.

 

jsdn14_0-1574354559017.png

 

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:

jsdn14_1-1574354795947.png

 

Please let me know if you need more details and thanks for the help!

 

Alteryx
Alteryx

@jsdn14 Are you using the render tool to output the dataset and save it as a docx or pdf? You can use this tool to output and then specify the attachments in the email tool to pick it up. Make sure you use the block until done tool to output first then use the email tool. 

 

Let me know if this helps or need further clarification. 

Digan
Alteryx
Atom

Hello,

 

The pdf&docx that I'm using is a file that is not generated by the alteryx workflow.

 

I notice that doing the same but in version 2019.1 works well, I had the problem in 2019.3.

Asteroid

I'm having the same problem - on 2019.3

 

I generate an Excel file via Render within my workflow and use a block until done tool.

 

The Excel file is generated perfectly by the Render (when opening directly from the path specified in the Render tool), but when opening the Excel file attached to the email, the Excel file is corrupt.

MonBrazier_0-1574909266359.png

 

Very interested to follow this thread. Hopefully someone has a fix or an idea!

Highlighted
Alteryx
Alteryx

You are running into a known Defect: "DE22485 - workflow runs and sends out the email message with the attachment, but the attachment is corrupted".  

 

This Defect is still Open and being reviewed by our development team. 

 

Workaround: 
It seems if the body of the email is hardcoded, this will send out a corrupted attachment. However, if you use a field for the body, this will work. So, add a field for body rather than using text in the text box.

 

Atom

The solution you suggested isn't working for me. Is this issue resolved?

Alteryx
Alteryx

@kp10  Defect DE22485 is still open. 

 

Can you try with a simply workflow like this?

 

ntobon_1-1578582263642.png

 

Report Text tool configuration:

 

ntobon_2-1578582302240.png

 

Email tool Configuration:

 

ntobon_3-1578582341295.png

 

 

Labels