By: Antanas
Date: 2016-04-13
Time: 16:22
|
How to attach xlsx to emailHello,
I was trying to send xlsx file by email by using these approach:
The problem is - generated email attachment test.xlsx contains only sheet.xml inside. If I open it by notepad I see plain xml data:
There is no zip content as it should be for xlsx. However if I choose to download it instead of streaming to email:
It downloads correct xlsx file. So how can I make a full (zipped xlsx) attachment? |
|||
By: Antanas
Date: 2016-04-14
Time: 08:32
|
Re: How to attach xlsx to emailNever mind - I figured out it by myself :)
It should be OPENTBS_STRING as a parameter for Show():
That way it generates the right XLSX attachment. Thank you anyway. OpenTBS is awesome! |