I'm trying to utilize James as an embedded mail server within my
application and I am having trouble trying to programmatically start the
server.  I started out simply creating a new URLClassLoader and putting all
the lib JARs into it and passing all the calls specified in the "run.bat",
but for some reason it's having trouble with the base directory.

Next I tried a more ideal scenario and attempted to instantiate the
IMAPServer and SMTPServer directly, but I'm not sure how to specific the
values for configure to be able to launch properly.

Any tips or suggestions for launching James within the same JVM as my
application would be greatly appreciated.

Thank you,

Matt Hicks

Reply via email to