What happens to a mail when the Mail State is set to Mail.ERROR
-Chinmayi
Stefano Bagnara wrote:
Spool threads are not spawned at every mail arrival.
Spoolmanager at boot instantiates N spool threads and they poll for incoming
messages to process.
So it probably happen when you had N mails (the number of spoolthreads)
matching your "hanging" mailet.
To remove the mail after processing you have to call
mail.setState(Mail.GHOST).
Stefano
PS: please keep the discussion in the mailing list.
-----Messaggio originale-----
Da: Chinmayi Narasimhadevara [mailto:[EMAIL PROTECTED]
Inviato: giovedì 22 settembre 2005 20.00
A: Stefano Bagnara
Oggetto: Re: James Spool Manager repository mails
not sent to mailet
Hi
I fixed that problem in my Mailet now.. but what I did not
understand was.. why was not occuring everytime a thread was
spawned and only after the server runs for some time (2-3
days probably or more ) it occurs..and the mails are not
processed and they queue up in the spool .
And I had one more question..if the mail is processed by the
mailet, then is it not automatically removed from the spool queue.
Thanks again for all your help..
Chinmayi
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]