On Nov 27, 2007 4:19 PM, alex_rosstech <[EMAIL PROTECTED]> wrote: > > > alex_rosstech wrote: > > > > Do you know of any way to trigger james to process the messages in the > > spool? Simply sending another email through james doesn't work either. > > > I suppose I could write the emails to a different folder/repository, and > then send regular "control" emails which call the FromRepository mailet to > then fetch and inject these mails into the spool?
i suggest that you take a look at the fetchmail source code. fetchmail runs as a periodic task and then inserts mail into the spool. FetchScheduler (1) loads the configuration and sets up the scheduling. MessageProcessor (2) injects mail into the spool (see sendMail). - robert 1. http://svn.apache.org/repos/asf/james/server/trunk/fetchmail-function/src/main/java/org/apache/james/fetchmail/FetchScheduler.java 2. http://svn.apache.org/repos/asf/james/server/trunk/fetchmail-function/src/main/java/org/apache/james/fetchmail/MessageProcessor.java
