Hi All!

Another question about get_attachment_name. How can I get attachment name
from multiline Content-Disposition parameter?

http://greenbytes.de/tech/webdav/rfc2231.html#rfc.section.3

For example:
---
Content-Type: application/msword;
 
name="=?UTF-8?B?0KHQstC10LTQtdC90LjRjyDQv9C+INC/0LDQstCw0LTQutGDINCzLiDQmtC40YHQtQ==?=
 =?UTF-8?B?0LvQtdCy0YHQuiAwMi4wNC4xMNCzLmRvYw==?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*0*=UTF-8''%D0%A1%D0%B2%D0%B5%D0%B4%D0%B5%D0%BD%D0%B8%D1%8F%20%D0;
 filename*1*=%BF%D0%BE%20%D0%BF%D0%B0%D0%B2%D0%B0%D0%B4%D0%BA%D1%83%20%D0;
 filename*2*=%B3%2E%20%D0%9A%D0%B8%D1%81%D0%B5%D0%BB%D0%B5%D0%B2%D1%81%D0;
 filename*3*=%BA%20%30%32%2E%30%34%2E%31%30%D0%B3%2E%64%6F%63
---

Sergey, is it possible to add such functionality?


=kostik

_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to