> So, I'm writing a custom Mailet to deliver a message to a database.
> But, I don't want the message processed any further after my 
> mailet, nor do I want messages to be delivered to a repository.
> 
>          <mailet match="All" class="JDBCMailet">
>                 <processor> transport </processor>
>          </mailet>
> 
> 
> What do I put in the processor tag? Do I even need the processor tag?

You just need to add a "mail.setState(Mailet.GHOST)" in your mailet before
returning.
Setting the state to GHOST let the spooler know it must be discarded.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to