You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Merve Temizer <me...@gmail.com> on 2012/10/05 17:15:27 UTC
org.apache.mailet.Mail
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
Re: org.apache.mailet.Mail
Posted by nibbllee <me...@gmail.com>.
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org