When using either the attachments.Save() method or the attachments.FileData method to save the file to disc, the following message is encoutered:
____We found a problem with some content in ???.xslx. Do you want us to try to recover as much as we can?____
This only occurs with xlsx attachments and the attachments are not corrupted when opened or saved directly from the mailbox.
The host I'm using in Office 365 and the script is using powershell. I've attached part of the code.
Regards, Matt
Comments: ** Comment from web user: 18GT19HT **
____We found a problem with some content in ???.xslx. Do you want us to try to recover as much as we can?____
This only occurs with xlsx attachments and the attachments are not corrupted when opened or saved directly from the mailbox.
The host I'm using in Office 365 and the script is using powershell. I've attached part of the code.
Regards, Matt
Comments: ** Comment from web user: 18GT19HT **
If xlsx saved, the size will increase by 2 bytes. If saved the file extended at 2 bytes send by the mail, and save it again, the increment will not happen