I'm very surprised that the following question does not appear in the mailing list.
Maybe I'm missing something ?
The question is: How to delete a mail.
I tried the method 'expunge' applied to the object 'folder' but the following
exception has been thrown: javax.mail.MethodNotSupportedException.
I have 2.0a3-cvs version of James.
By the way, I have another question:
I noticed that James is forcing the closure of the connection with the client after a
certain period of time.
So, for each request sent to James, my program does the following operations :
------------------------------------------------------------------
1-Connection
2-Request {list mails, get back mail message }
3-Deconnection
------------------------------------------------------------------
Is there a better way to work with James to optimized response time ?
Thanks,
Guy