We have been trying to send emails from within an email using the javax.mail package. But, James keeps intercepting the message even though it is destined for another mail server.
Here is a code snippet.
You could use this, or instead of the Transport, you could use MailetContext.sendMail. See the mailet API docs at http://james.apache.org/mailet/index.html.
The code works when I run it outside JAMES. So my question is how do I, get JAMES to stop spooling any emails that I create and send from inside a mailet.
I don't quite understand... why do you want to stop spooling any emails, and what are you hoping to accomplish?
-- 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]
