I've got an issue where an automatically generated email with a pdf attachment gets corrupted when sent to (I believe) MS-Exhange servers.
I'm basing my suspcisoin that it is MS-Exchange specific as the emails in question are received perfectly through Gmail and another POP account i've tested it on. It also worked on a Zarafa account I was evaluating a while ago.
Our company uses a hosted Exchange solution so I'm limited in what I can tell about the server setup, and Microsoft products are not my strong suit in any case.
The problem email arrives with the header information included in the body of the email, and the PDF is printed as text at the footer. I've included a generic example of what appears in the body below.
I'm a little limited as to what I can work through in the system code as parts are proprietry and encrypted, however I suspect it isn't a programming issue since it seems to work fine on the other email systems. Just let me know if there's any other information you need and i'll do my best to source it.
Any leads would be appreciated as the automatic notifications are one of the key functions of the system.
Cheers in advance (and hope ;-),
From: "email@example.com" <firstname.lastname@example.org>
Reply-to: "email@example.com" <firstname.lastname@example.org>
X-Mailer: PHPMailer (phpmailer.codeworxtech.com) [version 2.3]
X-OriginalArrivalTime: 20 May 2009 03:44:07.0758 (UTC) FILETIME=[3A8F86E0:01C9D8FD]
Content-Type: text/plain; charset = "UTF-8"
Content-Type: application/octet-stream; name="1234.pdf"
Content-Disposition: attachment; filename="1234.pdf"
[REST OF JUNK OMMITTED... IT GOES ON FOR PAGES]