Hi,

I am using Turbine TDK 2.3  and
org.apache.turbine.util.velocity.VelocityHtmlEmail to send emails from
my application.
This works very well. 
However I would like to capture the email message (just thet body) and
save it once it has been compiled and sent.

I've looked through the java docs and there doesn't seem to be anyway to
get hold of the message after it has been
processed by Velocity. I've tried to expose the getMessage() method from
one of the commons email parent classes but it simply returns
a null.

Can anyone suggest a way of doing this? or an alternative. I would
rather not CC my app and have it monitor a mbox to get hold of the
message.

Thanks
Peter

Reply via email to