Excel file extension being change when send outside of the organisation through email

0
Hi ,   From my app I'm sending an email attached with an excel file which is being generated dynamically. When I'm sending an email outside of the organisation with the excel attachment the excel file extension is being changed and underscore is being added in the excel file extension.   Kindly guide me how to troubleshoot this issue.    Thanks in advance.
asked
2 answers
0

Hi Abrar Ahmed, 

 

Because you say it depends on the receiver, it's most likely a security measure of the mail server of the other organisation. 

 

Common solutions are to remove dots and spaces in the file name and to not use excessive length names, but thats clearly not applicable.

 

I guess the MIME type is not set correctly. Could you try to set it to application/vnd.openxmlformats-officedocument.spreadsheetml.sheet instead of application/octet-stream? Not sure what integration you use, but I hope you are able to do this. 

 

Another, less likely possibility could be that you have multiple attachments with the same name. I guess you can easily rule this out by checking the source of the email sent. 

 

Good luck! 

answered
0

Email attachmentimage11.png

answered