I've been looking at James in order to use its SMTP service capability. The problem is that I need synchronous processing, e.g. I need to be able to process an email while the SMTP client is still connected, and give an SMTP error response if I could not process the mail. In the current implementation of James this is not provided for, since all email messages go through the spool first, and are processed asynchronously in a separate thread.
My question to the developers is what is the most sensible way of doing this? It seems to me that the simplest way of achieving synchronous processing is to modify James.sendMail(Mail mail) to bypass the spool and call JamesSpoolManager.process(MailImpl mail) directly in the case you want synchronous processing. Any thoughts on this would be appreciated. Gudlaugur Stefan Egilsson Dimon Software --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
