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 Daniel Rebolo <da...@adinet.com.uy> on 2005/01/28 13:24:06 UTC
getAllRecipients urgently
I am having a big problem when I use the MimeMessage method getAllRecipients
and the To recipient is UndisclosedRecipient...
It's a big problem, it throws an exception...
Can I resolve this problem.. becuase when I use getAllRecipients it is Undisclosed
and james has problems later...
Thanks in advance...
Daniel Rebolo
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: getAllRecipients urgently
Posted by Serge Knystautas <se...@lokitech.com>.
Daniel Rebolo wrote:
> I am having a big problem when I use the MimeMessage method getAllRecipients
> and the To recipient is UndisclosedRecipient...
Well, that sounds like it's a bug in JavaMail. I think you could send
them the message that's barfing along with a description. Maybe file it
in their bug tracker.
> It's a big problem, it throws an exception...
>
> Can I resolve this problem.. becuase when I use getAllRecipients it is Undisclosed
> and james has problems later...
Just FYI, in James you probably would instead want to use
Mail.getRecipients(). That is the list of recipients that will
*actually* receive the message. What's in the To and Cc headers can be
completely made up and independent of who would actually receive it.
--
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org