OK I made a mailet that duplicates the message and removes the unwanted attachments !!! How do I store this duplicated instance in spool ( spool.store() ) , I mean ... How do I get a reference to SpoolRepository from mailet context???
> -----Mensagem original----- > De: Noel J. Bergman [mailto:[EMAIL PROTECTED] > Enviada em: segunda-feira, 10 de maio de 2004 17:47 > Para: James Users List > Assunto: RE: Mailet Question !! > > > > So in that scenario I described earlier ( remove some > attachments for > > specific recipients ) the solution would be duplicate the message ?? > > That would be a solution. One way or another you'll need to > duplicate it. That could be done by forwarding, or internally > in your own code. I would consider having a mailet that > strips attachments, and then using the pipeline to implement > the logic (and duplication). > > --- Noel > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]