Right. I've done some more investigation, and I still have a problem.
Mail.getRecipients() does not return you all the recipients. It only returns you the RCPT-TO recipients.
So If you have (as I do) an incoming MimeMessage with to, cc and bcc I cannot get access to the cc or bcc recipients via the james Mail object, other than via the MimeMessage using Mail.getMessage().
However, even if I do this. I cannot update the MimeMessage cc or bcc recipients due to problems in MimeMessageWrapper as per my previous email.
Could you share an example of what you're trying to do here? I think it might illustrate where you're (or I'm) confused.
-- Serge Knystautas President Lokitech >>> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
