dcsimg
Problem in Storing received messages
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Atif_Umar
Posted On:   Thursday, September 27, 2001 08:03 AM

hi ,
i am developing an application in which i have to receive messages and store them in files
i am using the following code to get the content of the message

String filestr = message[i].getContent().toString();
and then i write this string into the file
but for some messages which are in html format
all that is stored is
javax.mail.internet.MimeMultipart@6db54

how to get the text part from such messages

Re: Problem in Storing received messages

Posted By:   John_Zukowski  
Posted On:   Friday, September 28, 2001 10:25 PM

You should consider looking at the already created providers that offer local storage. If you have a MimeMultipart, you must look at each of the parts.
About | Sitemap | Contact