[imp] IMP not displaying attachment due to missing MIME Content-type name field

David Brangaitis David.Brangaitis at marist.edu
Mon Aug 17 13:38:29 UTC 2009


Hello,
We've noticed that attachments in incoming email from certain hosts were
not displaying in IMP.  This seems to occur when the mail is sent without
the name= parameter set in the Content-type area of the MIME info.  For
example:
--This will not display:
Content-Type: application/msword
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="document.doc"
--
--This will display:
Content-type: application/msword;
  name="document.doc"
Content-Disposition: attachment; filename="document.doc"
Content-transfer-encoding: base64

As I understand it, name= in Content-type is deprecated, though most
clients seem to still use it.
Any ideas about this?  Could this have anything to do with the Pear module?

Thanks,
David Brangaitis
Marist College


More information about the imp mailing list