Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2005

Tip: Looking for answers? Try searching our database.

How to save/write javax.mail.Folder to file?

Thread view: 
Tomas - 28 Sep 2005 04:12 GMT
Hi,

Im making an e-mail client and i want to write received Messages to file.
I tried to write the hole object javax.mail.Folder,via ObjectOutPutStream,
to file but it dos not implement Serializable so i got Exception.

Is there any specific classes or methods in the java mail api that handles
writing messages and folders to file(i cant find it)? If not, any suggestions
on how to solve this in an easy way?

Best regards
/Tomas
Roedy Green - 28 Sep 2005 06:35 GMT
> javax.mail.Folder,via ObjectOutPutStream,
>to file but it dos not implement Serializable so i got Exception.

JavaMail is like a set of Chinese boxes.  You will have to take the
Folder apart until you get either to text or something that is
serialisable.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.