Article View: borland.public.jbuilder.java.api
Article #2207Saving a JavaMail Message obj to HD
From: Olivier Morris
Date: Tue, 24 Apr 2001 18:17
Date: Tue, 24 Apr 2001 18:17
17 lines
1595 bytes
1595 bytes
Hi all, Having some fun (read=banging my head against a brick wall) with the JavaMail API. I would like to save an e-mail message to my hard drive - at first I thought I'd simply serialize the obj. However, a NotSerializableException was thrown - :?( So....can anyone suggest how I should save a Message to hd in any other means. I'd *much* prefer to keep the obj (i.e. not save a text file). The aim is to be able to read the file back into the client I've made as an e-mail obj again. TIA Olivier Morris
Technical Details
Message-ID:
<1sjF6.5787$Tv2.796605@news6-win.server.ntlworld.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,86ac0533d499af4e,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-04-24 11:26:03 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "Olivier Morris" <Olivier.Morris@Ntlworld.com> Newsgroups: borland.public.jbuilder.java.api Subject: Saving a JavaMail Message obj to HD Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <1sjF6.5787$Tv2.796605@news6-win.server.ntlworld.com> Date: Tue, 24 Apr 2001 19:17:43 +0100 NNTP-Posting-Host: 213.107.34.98 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 988136317 213.107.34.98 (Tue, 24 Apr 2001 19:18:37 BST) NNTP-Posting-Date: Tue, 24 Apr 2001 19:18:37 BST Organization: ntl Cablemodem News Service