178
Views
4
Comments
Solved
Emails with .bin files
Question

Hi All,

I have some emails with weblocks, if statements and images being sent. My emails generate a .bin file as an attachment, that cannot be opened, does anyone know why this happens? It confuses the recipients into thinking there is something there and something they should be looking at, but all the information is on the email itself. Any suggestions on what this could be?


Thanks.

 

2018-08-04 18-19-00
André Pinho
Solution

So the issue was an action in the preparation that had a binary output into the web block, for some reason that created a binary file attachment in the email... so I changed it to an aggregate in the web block preparation... 

2021-08-30 15-28-09
Leandro Correa

Hi, Andre!

Verify if you are setting the mime type for the attached file.


Take a look at this component and in the description

https://www.outsystems.com/forge/component-overview/4920/send-mail-with-binary-attachments

2018-08-04 18-19-00
André Pinho

Hi Leandro, Sorry if it was not clear, I do not want any attachments. It seems to be creating an attachment automatically.

2018-08-04 18-19-00
André Pinho
Solution

So the issue was an action in the preparation that had a binary output into the web block, for some reason that created a binary file attachment in the email... so I changed it to an aggregate in the web block preparation... 

2021-08-30 15-28-09
Leandro Correa

Nice Andre!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.