Steve Brewin wrote: > > Ideally you should programatically inject your mail into James spool and > let > James take care of the rest. If the current SMTP and fetchmail injectors > do > not meet your needs, you could write your own using their source code as a > reference. >
Thanks for getting back to me Steve! I have managed to "inject" emails into the spool! :-) Unfortunately, james doesn't pick this up until it is restarted! 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. Steve Brewin wrote: > > james-general is for administrative issues. You will get a better response > from james-user where, if you describe what you are trying to achieve, you > may find other users that have solved your problem. If you want to write > your own spool injector, ask questions on james-dev. > Sorry about that! I tried moving the thread to the "James - Dev" forum, but it didn't allow me to. Could an admin maybe move it? Sorry again! alex_rosstech wrote: > > > > Hi all! > > I was wondering if it was possible to inject emails into > james' spool from a > program which is external to james? In other words, I want to > write a simple > Java program which pops mail from a server and injects these > into james' > root processor. I don't want to use fetchmail, as configuring > this for many > users is not feasible. > > I guess I could just write the emails to james' spool > directory, but I'm not > sure how to generate the required Repository.FileObjectStore files. > > Any help would be much appreciated! > > Thanks! > -- > View this message in context: > http://www.nabble.com/inject-to-spool-from-outside-james--tf48 74852.html#a13948649 Sent from the James - General mailing list archive at Nabble.com. -- View this message in context: http://www.nabble.com/inject-to-spool-from-outside-james--tf4874852.html#a13972844 Sent from the James - General mailing list archive at Nabble.com.
