Why does Outlook damage pdf files when sending as attachment?

M

Mukhtar

Outlook Express on Windows XP

When sending a pdf file as an attachment, the recipient gets this error
message: There was an error opening this document. The file is damaged and
could not be repaired. The same files when sent as an attachment from a
different application (hotmail e.g.) open properly so it appears that Outlook
is the culprit.
I found this generating PDF's from crystal reports.
The file is being truncated. I have found that this happens if the PDF is
below a certain size (around 10k but it depends). Essentially if the PDF is
a single page and only has a single section compressed with /FLATE, outlook
will truncate it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top