You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Miroslav Nachev <mi...@space-comm.com> on 2003/04/23 09:47:42 UTC

Mailet Service

   Hi,

   I am new in Mailet Services and I need of help for the following: I
want to do some Mailet which will start some Business Logic (JavaBean
or Java Code) in case that some e-mail is received for specific
address or other condition(s). In this case the mailet have to process
some data and to do something. How can I do this? Can I find some
example for that? 


   Best Regards,
   Miroslav Nachev



---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


Re: Mailet Service

Posted by Stephan Wiesner <st...@stephan-wiesner.de>.
http://rzserv2.fhnon.de/~lg002556/james/James.html#d3e197



Miroslav Nachev wrote:

>   Hi,
>
>   I am new in Mailet Services and I need of help for the following: I
>want to do some Mailet which will start some Business Logic (JavaBean
>or Java Code) in case that some e-mail is received for specific
>address or other condition(s). In this case the mailet have to process
>some data and to do something. How can I do this? Can I find some
>example for that? 
>
>
>   Best Regards,
>   Miroslav Nachev
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: james-user-help@jakarta.apache.org
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


RE: Mailet Service

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I want to do some Mailet which will start some Business Logic

No problem.  That is the purpose of a Mailet.  You implement the service()
method.

> in case that some e-mail is received for specific
> address or other condition(s).

That is what Matchers do.  The matcher will determine whether the mail
matches the defined criteria, and for which recipients.

> Can I find some example for that?

Look at the matchers and mailets provided with James.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org