|
From: | Kostik |
Subject: | [bug-mailutils] How get_attachment_name from multiline Content-Disposition? |
Date: | Fri, 02 Apr 2010 16:52:05 +0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |