Originally posted by rohan baweja:
Solution : When you are creating the message and right before you are about to transport it you can write the message to a text file e.g. in your case call it backup.txt Use this code :
message.writeTo( new FileOutputStream("backup.txt") );
Java lover from hell!
[This message has been edited by Metal Zhang (edited August 19, 2001).]
Actually I have a problem which is an extension to Metal's problem. My question is : Can Mail Messages recieved from a pop mailbox be stored as an ARRAY of messages in a single file on the local machine? If the answer is yes, I would be grateful if you could tell me.
And also how can those messages be read as an array later from the backup file.