Server 2008 R2 corrupting PDF when scheduled task emails
Posted on 2013-06-10
We scheduled 2 task
Task 1 generates a report using a macro in PDF which I can open and see its content without a problem.
Task 2 grabs the PDF file generated from the script and emails it. I receive the email but every time I try to open the attached file it says the following message.
"There was a error opening this document. The file is damaged and could not be repaired."
So far I have tried to save it and opening it but still receive the same message.
Does anyone know why the file is being corrupted when it sent via our local exchange server?