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 Emre Sokullu <so...@ultratv.net> on 2003/10/18 14:14:51 UTC
Sample Mailet
Hi all ..
Here comes a newbie question...
Can anyone write a simple mailet code sample ? I've searched on the net for a sample code of mailet but I couldn't find anything. I want a very simple example... how it works ? How should
I configure config.xml ?
Let's say I have written a mailet named "distribute.class" .. Where should I put it ? And how do I call it from config.xml ?
<mailet match="All" class="ToProcessor">
<processor> ??? </processor>
</mailet>
Thankx in advance ..
RE: Sample Mailet
Posted by "Noel J. Bergman" <no...@devtech.com>.
> Can anyone write a simple mailet code sample ?
There are plenty of them in magazine articles, as well as the James source.
> Let's say I have written a mailet named "distribute.class"
Use class="distribute" in a mailet tag.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org