> -----Original Message----- > From: kb [mailto:[EMAIL PROTECTED] > Sent: 16 December 2003 23:55 > To: [EMAIL PROTECTED] > Subject: Possible to make standalone program with SMTP? > > > Hello all, > I came across the james project ... i need to write a program > that is smtp enabled, and i was looking for some classes to do > so. > > I saw package org.apache.james.smtpserver... and i am wondering > .. is this all i need to have smtp functionality in a program ?
No. The SMTP class is an Avalon component which uses a bunch of services provided by other Avalon components. These are defined in the block entry for "smtpserver" in assembly.xml. You need Phoenix - an Avalon component manager - and each of these components or equivalents. > For a variety of reasons it would be best for my project to run > as one process, as opposed to sending mail to a running james > server on the localhost ( i tried to change the spec, but no > luck ) One process? If you mean one VM, Phoenix and hence James, can share a VM with other tasks. > So, to do SMTP only is or.apache.james.smtpserver all i need? Nope! -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]