Hi,
i like JAMES very much, so I decided to report you a bug:
SMTP command DATA doesnt work fine:
I have downloaded james-2.1.3 MailetSDK, started JAMES (on Java 2 Runtime Environment
, SE v1.4.1_02 ), made some mailboxes and sent the following message:
220 rumen SMTP Server (JAMES SMTP Server 2.1.3) ready Mon, 4 Aug 2003 12:40:00 +
0300 (EEST)
mail from:<me>
250 Sender <[EMAIL PROTECTED]> OK
rcpt to:<t>
250 Recipient <[EMAIL PROTECTED]> OK
data
354 Ok Send data ending with <CRLF>.<CRLF>
msgbody.
250 Message received
these commands generate the following email (well, the date/time doesn't match ;)
Return-Path: <[EMAIL PROTECTED]>
Received: from localhost ([127.0.0.1])
by rumen (JAMES SMTP Server 2.1.3) with SMTP ID 716
for <[EMAIL PROTECTED]>;
Mon, 4 Aug 2003 12:37:26 +0300 (EEST)
msgbody.
Date: Mon, 4 Aug 2003 12:37:26 +0300 (EEST)
From: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Message-ID: <[EMAIL PROTECTED]>
Which is not a valid message.
If you save this to a .txt file and rename it to .eml, then try to open it and you'll
see that message has no body.
This is (I think) because according to RFC822 before message body there must be an
empty line (I make no pretence to know RFC822, but I think that empty line is the
problem).
According to RFC822 :
" message = fields *(CRLF *text) ;Everything after first null line is message body
"
http://www.freesoft.org/CIE/RFC/index.htm
http://www.freesoft.org/CIE/RFC/822/index.htm
Hope I help
Rumen