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. [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to