We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Email tool error with attachment

Mike_Rischard
6 - Meteoroid

I have a workflow that is failing if I include an attachment using Field:FullPath. The emails work if I exclude the attachment, so I know the SMTP credentials are OK. Attachments settings and Email tool error are below.

 

The attachments are PDF files.

 

Any help is appreciated.

Mike_Rischard_0-1639003154160.png

 

 

Email tool error:

Mike_Rischard_1-1639003234945.png

 

2 REPLIES 2
TheOC
16 - Nebula
16 - Nebula

hey @Mike_Rischard 

the error 

Failure when receiving data from the peer

Occurs when the email account does not have the correct permission to send the email. I would suggest that the SMTP settings are setup that you cannot send emails like this with attachments.

Theres a little more about it here:
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Error-quot-Failure-when-receiving-d...

I would maybe suggest double checking with your SMTP settings/Admin to check if this is being flagged in the logs somewhere.

Hope this helps,
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
Mike_Rischard
6 - Meteoroid

The error was caused because there were spaces in the pdf file names. Added a formula to replace spaces with underscores in the file names and the emial attachment worked.

 

Thanks,

 

Mike

Labels
Top Solution Authors