Hello, I am writing a maillet that will split a message with multiple recipients into two messages.
I wonder how I can manipulate the original mail so it will not be sent to all recipients. According to the javadoc at http://james.apache.org/mailet/org/apache/mailet/Mail.html the Mail class has a method setRecipients(). However, that method does not show up in my James 2.1.2 and 2.1.3 distributions. Could someone tell me what the story is with this missing method? An option is to send both messages through getMailetContext().sendMail(MimeMessage). If I do that, how can I cancel the original message? Should I call Mail.setMessage(null)? Help is greatly appreciated! cheers, Hes Siemelink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
