If you use a db repository for the spool you can inject messages using SQL, what to set the fields to is pretty self-evident, and trial and error should reveal the rest. Or you could use Java-mail to just "send" them to James using SMTP.
d. On 26/11/2007, alex_rosstech <[EMAIL PROTECTED]> 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/ToRepository-from-outside-james--tf4874852.html#a13948649 > Sent from the James - General mailing list archive at Nabble.com. > >
