Posted By:
Martin_Weiss
Posted On:
Friday, March 14, 2003 03:12 PM
Hello everyone, I have a further problem... I used the GetParts-Example to save attached files on the harddisk. But message.getContent() only returns an IMAPInputStream-object instead of a Multipart-object. So "content instanceof Multipart" always return false, and the disposition-string also is null and the type of body is unknown.... But here is some example of the content: Null: multipart/MIXED; boundary=STEFAN3e70ddb94389 Other body: multipart/MIXED; boundary=STEFAN3e70ddb94389 Received: from fmomail02.dlan.cinetic.de ([172.20.1.46] helo=web.de) by mx18.web.de with smtp (WEB.DE(Exim) 4.97 #53) id 18tYVB-0007f0-00 for sodab@web.de; Thu, 13 Mar 2003 20:36:29 +
More>>
Hello everyone,
I have a further problem...
I used the GetParts-Example to save attached files on the harddisk.
But message.getContent() only returns an IMAPInputStream-object instead of a Multipart-object. So "content instanceof Multipart" always return false, and the disposition-string also is null and the type of body is unknown....
But here is some example of the content:
Null: multipart/MIXED; boundary=STEFAN3e70ddb94389
Other body: multipart/MIXED; boundary=STEFAN3e70ddb94389
Received: from fmomail02.dlan.cinetic.de ([172.20.1.46] helo=web.de)
by mx18.web.de with smtp (WEB.DE(Exim) 4.97 #53)
id 18tYVB-0007f0-00
for sodab@web.de; Thu, 13 Mar 2003 20:36:29 +0100
MIME-Version: 1.0
Organization: http://freemail.web.de/
From: "Martin Weiss"
To: sodab@web.de
Subject: keiner
Precedence: fm-user
Content-Type: multipart/mixed; boundary="STEFAN3e70ddb94389"
Message-Id:
Date: Thu, 13 Mar 2003 20:36:29 +0100
Sender: scorpi@web.de
This is a MIME encoded message.
--STEFAN3e70ddb94389
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Is there some kind of decoding I have to do first?
Can anyone help me with this problem? And please do not only refer to some FAQ's, because I searched the whole evening for an answer, and didn's find one...
Thanks for help,
Martin
<<Less