I found out.

mail.getMessage().getHeader("Cc")

mail.getMessage is MimeMessage.

nibbllee wrote:
> 
> Hello,
> In a mailet i can get incoming or outgoing mail with
> 
> service(Mail mail)
> 
> 
> The mail is an org.apache.mailet.Mail
> 
> When i get its recepients i see org.apache.mailet.MailAddress
> 
> How can i find out which recepients are "to" which are "cc" which are
> "bcc".
> 
> There is no clue field in MailAddress class.
> 
> Thanks
> 
> 

-- 
View this message in context: 
http://old.nabble.com/org.apache.mailet.Mail-tp34519136p34531356.html
Sent from the James - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to