[imp] content-disposition

Torok Jozsef tj at jgypk.u-szeged.hu
Thu Jan 19 15:25:08 UTC 2012


Hi!

  We have a problem with imp5, which (as i recall) did not existed in imp4.
  When sending emails with attachments, which has non-ascii characters in
their filenames, some MUA can't handle it. And it's not just that shitty
incredimail, but Windows live mail can fail sometimes. 
  The difference (MAYBE) is the Content-Disposition header, in imp5 looks
like this:

Content-Type: application/pdf;
name*=utf-8''quoted%C3%81%C3%A9%C3%BA%C5%B1.pdf Content-Disposition:
attachment;  filename*=utf-8''quoted%C3%81%C3%A9%C3%BA%C5%B1.pdf; size=1085
  Same attachment with gmail:Content-Type: application/pdf;
name="=?UTF-8?B?cXVvdGVkw4HDqcO6xbEucGRm?=" Content-Disposition:
attachment; filename="=?UTF-8?B?cXVvdGVkw4HDqcO6xbEucGRm?="  The latter
works good, however probably imp uses the RFC's. Is there some
compatibility option somewhere? Can i 'fix' it somehow? thx tj


More information about the imp mailing list