I think the answer might be with contructing a new Mail via
a new MimeMessage created via using MimeMessage.getInputStream() from the
old message.

Does anyone have any experience and know if this approach is successful?

-----Original Message-----
From: Lindsay Smith [mailto:[EMAIL PROTECTED]
Sent: 09 October 2003 00:40
To: James Users List
Subject: How to clone a mail


Hi,

Can anyone recommend a way to clone a org.apache.mailet.Mail object?

I see that Mail implements cloneable but I get a compilation error:

clone method not public

Any advice appreciated.

Regards
Lindsay Smith

---------------------------------------------------------------------
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]

Reply via email to