Can not parse long file name of attachment in mime file

[email protected] Thu, 15 Nov 2007 07:24:37 -0500
Newsgroups gmane.mail.libetpan.user,gmane.spam.detected
Message-ID <[email protected]>
Hi libetpan guys
I receive a mail with an attachment?which?is?long file name from Windows Live web mail system,
but I can not use fetch-attachment sample (libetpan-0.52)?to fetch this file name of attachment
It seem like libetpan can not parse long file name of attachment,
So I try a sample mail
This is mimefile.

Thank you :)
________________________________________________________________________
Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading spam and email virus protection.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Libetpan-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libetpan-users
MIME.txt (text/plain, 2.6 KB)
Delivered-To: [email protected]
Received: by 10.65.157.9 with SMTP id j9cs81710qbo;
        Thu, 15 Nov 2007 04:15:19 -0800 (PST)
Received: by 10.66.249.16 with SMTP id w16mr204575ugh.1195128918494;
        Thu, 15 Nov 2007 04:15:18 -0800 (PST)
Return-Path: <[email protected]>
Received: from bay0-omc1-s8.bay0.hotmail.com (bay0-omc1-s8.bay0.hotmail.com [65.54.246.80])
        by mx.google.com with ESMTP id p10si650157gvf.2007.11.15.04.15.17;
        Thu, 15 Nov 2007 04:15:18 -0800 (PST)
Received-SPF: pass (google.com: domain of [email protected] designates 65.54.246.80 as permitted sender) client-ip=65.54.246.80;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of [email protected] designates 65.54.246.80 as permitted sender) [email protected]
Received: from BAY120-W15 ([207.46.9.178]) by bay0-omc1-s8.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Thu, 15 Nov 2007 04:10:18 -0800
Message-ID: <[email protected]>
Return-Path: [email protected]
Content-Type: multipart/mixed;
	boundary="_b189a578-b793-44e1-b42c-4abf7d0dd10b_"
X-Originating-IP: [210.63.100.2]
From: =?big5?B?rHggrV6kaA==?= <[email protected]>
To: <[email protected]>
Subject: test long chinese
Date: Thu, 15 Nov 2007 20:10:18 +0800
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 15 Nov 2007 12:10:18.0787 (UTC) FILETIME=[7D14C730:01C82780]

--_b189a578-b793-44e1-b42c-4abf7d0dd10b_
Content-Type: multipart/alternative;
	boundary="_29b3846e-d04d-4cac-8452-80c422c0f253_"

--_29b3846e-d04d-4cac-8452-80c422c0f253_
Content-Type: text/plain; charset="big5"
Content-Transfer-Encoding: 8bit

test
--_29b3846e-d04d-4cac-8452-80c422c0f253_
Content-Type: text/html; charset="big5"
Content-Transfer-Encoding: 8bit

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>test</body>
</html>
--_29b3846e-d04d-4cac-8452-80c422c0f253_--

--_b189a578-b793-44e1-b42c-4abf7d0dd10b_
Content-Type: text/plain
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=
	"=?big5?B?p8ax5qdBpWmlSKZupm6s3aRApFWzb71npOWzuaZiwb+sxrvyt3O8V6TlpnKk5aW=?=
 =?big5?B?861upUqy06zds+Gko61up9GwT6djLnR4dA==?="

Q0xFQVZBR0UxLTIotUy9WCkNCkxhIEJsdWUgR2lybCBSZXR1cm5zIDEtNCi1TL1YKQ0KDQqkV6a4
pN+ytDoNCmJrNG4zYnA2M2s3dnU4NHd1MCAsxFm4VKW8uqExOLezqsykVbj8DQoNCrPMste39rp+
uXGorii1TL1YKQ0KDQp5ai8gcnU2Zzs0emo2LMRZuFSlvLqhMTi3s6rMpFW4/A0KDQpbx1bHcMb8
xvPHRsb1x2VdqHSmQw0KMjAwNy02LTIwIA==

--_b189a578-b793-44e1-b42c-4abf7d0dd10b_--