[ 
http://issues.apache.org/jira/browse/JAMES-424?page=comments#action_12331791 ] 

Danny Angus commented on JAMES-424:
-----------------------------------

is the test text supposed to be preceded by CRLFCRLF?
If so it is possibly a bug in Java mail or James might be trimming the leading 
whitespace.
if not then it is correct behaviour, we have no reason to generally validate 
headers, only those we take an interest in.

> Invalid DATA for Message shows up in Headers in mailstore
> ---------------------------------------------------------
>
>          Key: JAMES-424
>          URL: http://issues.apache.org/jira/browse/JAMES-424
>      Project: James
>         Type: Bug
>   Components: SMTPServer, MailStore & MailRepository
>     Versions: 2.2.0
>  Environment: WinXP
>     Reporter: Scott Carr

>
> If you open a connection to the server, and send in the following in the DATA 
> for the message:
> This is a test
> .
> Then the data shows up in the headers instead of after the headers like it 
> should.  Here is what I recieved in the message:
> Return-Path: <[EMAIL PROTECTED]>
> Received: from localhost ([127.0.0.1])
>           by QRGMAIN (JAMES SMTP Server 2.2.0) with SMTP ID 792
>           for <[EMAIL PROTECTED]>;
>           Thu, 6 Oct 2005 21:40:21 -0500 (CDT)
> this is a test
> Date: Thu, 6 Oct 2005 21:40:21 -0500 (CDT)
> 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]>
> Notice where 'this is a test' appears in the message.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to