Thanks Vincenzo. Its exactly what i needed. I was
overriding getMessage(Mail) which allows to change the
content of original mail and not the bounce back.
Thank You.
--Ram
--- Vincenzo Gianferrari Pini
<[EMAIL PROTECTED]> wrote:
> Look at the AbstractRedirect/AbstractNotify/Bounce
> class hiera
Look at the AbstractRedirect/AbstractNotify/Bounce class hierarchy: just
extend Bounce overriding the getMessage() method with one that
dynamically returns the text that will replace the tag contents.
To change the "inline" behaviour, you can either specify an tag
with one of the following va
uot; <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: ramakrishnan kalicut
> [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 11, 2005 3:06 PM
> > To: server-user@james.apache.org
> > Subject: Bounce Mailet issue
> >
> >
> > I
> -Original Message-
> From: ramakrishnan kalicut [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 11, 2005 3:06 PM
> To: server-user@james.apache.org
> Subject: Bounce Mailet issue
>
>
> I'm trying to extend Bounce mailet to send a
> dynamically cre
I'm trying to extend Bounce mailet to send a
dynamically created message, instead of the one
specified in tag. I donot see any method
in Bounce class which allows me to do that. I'm able
to
get it working using the following statement.
getMailetContext().bounce(mail, "Invalid email
address", new