You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Thiago Pereira Raposo <Th...@eldorado.org.br> on 2005/09/14 18:25:31 UTC
Listening
Hello all...
Is there on the API of James one object to listening the inbox mail.
For example, always that arrive some e-mail I want to do some action.
How can I discover thar arrived one?
Thank´s
Eldorado Research Institute - Brazil
Thiago Pereira Raposo
Software Engineer
thiago.raposo@eldorado.org.br
tel: +55 19 3757 3172
cel: +55 19 8135 9527
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: Listening
Posted by Stefano Bagnara <ap...@bago.org>.
> Hello all...
> Is there on the API of James one object to listening the inbox mail.
> For example, always that arrive some e-mail I want to do some action.
> How can I discover thar arrived one?
> Thank´s
You can create your own Mailet and configure it just before the
LocalDelivery mailet.
Just check the recipient and decide what to do.
Your mailet will see the new mail just before it'll be dropped in the user
inbox.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org