james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Brewin" <sbre...@synsys.com>
Subject RE: Possible to make standalone program with SMTP?
Date Wed, 17 Dec 2003 00:24:14 GMT
> -----Original Message-----
> From: kb [mailto:james@chorg.com]
> Sent: 16 December 2003 23:55
> To: server-dev@james.apache.org
> 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?


-- Steve

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message