Have I got this totally wrong, or is there a serious set of bugs here?

Unfortunately it's the former.


You shouldn't be touching the MimeMessage if you want to change the recipient list. You want to edit the Collection of MailAddress objects available from the Mail object.

If you think of it this way, the MimeMessage is the actual email message, which you wouldn't want to be changing... you don't want to add/remove To: Cc: headers to the message. The Mail object contains both the MimeMessage that we're delivering and the recipients of that message.

--
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]



Reply via email to