You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Richard Han <rh...@totalcarepharmacy.com> on 2004/07/27 19:46:00 UTC

send emails from an application using james, how?

Hi,
I'm trying to use james to send emails from my application, I am running
both the application and james on localhost, but I get an exception on
my application side (using JavaMail), the exception message is:
javax.mail.MessagingException: 501 Domain address required: HELO 

from smtpserver log,
---------------
	INFO  smtpserver: Connection from localhost (127.0.0.1)

from mailet log
----------------
 INFO  James.Mailet: RemoteAddrNotInNetwork: Authorized addresses:
[127.0.0.1/255.255.255.255]
 INFO  James.Mailet: RemoteDelivery: maxRetries is larger than total
number of attempts specified. Increasing last delayTime with 19 attempts
 INFO  James.Mailet: RemoteDelivery: Delay of 21600000 msecs is now
attempted: 20 times


The mail/outgoing, spool etc are all empty.

I just use jame-2.2.0 as out of box, I didn't change any config,
What I need to do to make james relay emails from application?
Thanks!

Richard





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