Since I've been playing with telneting into James recently, I've experienced
this. After you HELO when you do the MAIL FROM: or RCPT TO: you _must_ put
the name inside <> so a typical session might look like this

HELO james.com
MAIL FROM:<[EMAIL PROTECTED]>
RCPT TO:<[EMAIL PROTECTED]>
DATA

If you neglect the <> you get that syntax error every time.

Home this helps,

Clint
-----Original Message-----
From: Phil Armour [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 15, 2002 7:08 PM
To: [EMAIL PROTECTED]
Subject: trouble using the smtp sender.

i am assuming that this is a config problem, but it might be a syntax
problem....

when i connect to the smtpClient in java i get an exception when i try to
set the from field.  I also get the same 501 exception when i telnet into
the smtp program and try to manually send an email.  (note: i have no
problem manually sending emails from other smtp clients.)

My exception is this:

sun.net.smtp.SmtpProtocolException: 501 Syntax error in parameters or
arguments

any thoughts on how I need to set James to accept regular smtp commands?


thanks in advance,
-phil


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to