Quantcast
Channel: ImapX 2
Viewing all articles
Browse latest Browse all 1952

Created Unassigned: Saving Excel xlsx attachments are corrupt [2709]

$
0
0
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

Viewing all articles
Browse latest Browse all 1952

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>