POP3 command to delete an e-mail is DELE(TE). IMAP in James has been
experimental at best, but there is a small group working to improve it.
Perhaps it would be best if you explained exactly what you are trying to do.
--- Noel
-----Original Message-----
From: Guy Smadja [mailto:guysmadja@;yahoo.fr]
Sent: Friday, October 18, 2002 11:15
To: James Users List
Subject: Delete a Mail
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
--
To unsubscribe, e-mail: <mailto:james-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:james-user-help@;jakarta.apache.org>