Federico Barbieri wrote:
> >I spent a little bit of time this weekend writing a very simple listserv
> >servlet, and ran into some problems with the API. The problem I faced
> >is that servlets can get invoked based on a recipient, and the extra
> >work a servlet must do if there are multiple recipients. Here's an
> >example:
>
> Mailet can be invoked based on whatever condition occurrs. Or better
> recipient can be invoked. So if you base your condition on recipients some
> of them in the same mail will match and all other will not and so james will
> split the mail it two. If you base condition on other things like sender or
> size all recipient or none will match and so the recipient list in the mail
> will remain untouched (all matching or none matching).
Ignore the rest of my email... I'd looked through the matching code in
JamesSpoolManager but didn't see that you were duplicating the Mail
object to go against different recipients in the split method. You'd
already handled my problem, so thanks!
Serge
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/>
Problems?: [EMAIL PROTECTED]