JWM wrote:
> I have a maillist mailet where I need to do field
> substitution per instance
> (e.g. "Dear %firstname %lastname, ")
>
> I know how to modify the mail message and do the
> substitutions.  My question
> is how to keep an original pre-substitution copy of message
> around so I can
> start clean on each recipient.

Take a look at the source of
org.apache.james.transport.mailets.AbstractRedirect and its subclasses. You
should be able to specialise one of these classes to achieve your
objectives.

-- Steve


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

Reply via email to