These are chat archives for PHPOffice/PHPExcel

22nd
Oct 2016
SUMO Development
@sumodevelopment_twitter
Oct 22 2016 05:13

Hello everyone! I have a weird issue! Some help would be much appreciated! :smile:
I generate a file that ends up being about 6kb. Very small! Then I email the file as an attachment. In my gmail (on the web) the attachment is perfect. When I try to open the attachment in Outlook or Mail for Mac, it shows the file as 0kb. If I try to open it, it says the file is corrupt.

I thought maybe the mail attachment happens before the file is completely written, so i used filectime() to compare to the current timestamp (time()). That didnt seem to work either as the same thing happend! :worried: