[imp] Problem w/ MS-TNEF attachments (CVS HEAD)

Gary Windham windhamg at email.arizona.edu
Tue Mar 16 17:18:16 PST 2004


A user complained about not being able to view MS-TNEF attachments today, so I
started poking around.

I have a message w/ an MS-TNEF (winmail.dat) attachment, containing 2 files; the
imp/lib/MIME/Viewer/tnef.php driver claims "No attachments found" when
displaying the message.  Interestingly, it appears that the transfer encoding
of the MIME body part containing the TNEF attachment is being set to
"x-unknown", even though it has a perfectly legitimate
"Content-Transfer-Encoding: base64" header.  This causes
MIME_Part::transferDecode() to not base64-decode the attachment, causing the
subsequent Horde_Compress_tnef::decompress() call to fail.

Any idea why this may be happening?

Thanks,
--Gary
--
Gary Windham
Systems Programmer, Principal
The University of Arizona, CCIT



More information about the imp mailing list