> I am using James to hadnle the bounced emails. When ever there is
> a bounced mail from, it will be forwared to my James Server. I am
> running a thrad process to look at the bounced mails and forward
> the mails to some admin and delete the messages.
You should be able to do this using standard matchers and mailets.
> folder.expunge();
Why are you attempting to use JavaMail folders?
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]