Closed Ajitweb closed 1 year ago
Apparently, this happens because google wants the body of the email to be filled with something. I am using CDO2000 to send emails and I filled its cTextBody property with some dummy text - and now the attachments are openable! Dont know why an empty body is creating corrupted attachments.
Obviously, nothing is wrong with the workbook class - because I can open the created file - locally. But when I attach that file in gmail and send it, the recipients cannot open the excel file - it says that the file is corrupted.
Anybody has encountered this ?