Posted By:
Gareth_Evans
Posted On:
Wednesday, January 16, 2002 09:02 PM
My problem is this, i'm trying to store MimeMessages in an entity bean, in order to this i have to serialize my Message by using the writeTo() methed... fine When i try toretrive my message i can create a new instance of a MimeMessage by using the MimeMessage( session , inputStream) method. My problem is this.. when i then try to access the message eg. mimemessage.getSubject() i get an exception java.lang.IllegalStateException: Folder is not Open Any ideas? am i missing somthing simple? I'm trying to store a local copy of the message Thanks
More>>
My problem is this, i'm trying to store
MimeMessages in an entity bean, in order to
this i have to serialize my Message by using the
writeTo() methed... fine
When i try toretrive my message i can create
a new instance of a MimeMessage by using the
MimeMessage( session , inputStream) method.
My problem is this.. when i then try to access
the message eg. mimemessage.getSubject() i get an
exception
java.lang.IllegalStateException: Folder is not Open
Any ideas? am i missing somthing simple? I'm trying to
store a local copy of the message
Thanks
<<Less