[ 
https://issues.apache.org/jira/browse/IMAP-364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255385#comment-13255385
 ] 

Giridhar Kannan commented on IMAP-364:
--------------------------------------

Actually i dint change log level, but was running James via JDB.
The exception will occur in PartContentBuilder's getMimeHeaders() method. As 
you sad mime parses it well, The problem is from where its starts parsing.

I.MIME makes the token stream to start at T_BODY and from there we are 
searching for T_FIELD which we cant find in case of Simple Message.

In case of simple Message BODY[1.MIME] = BODY[HEADER]
                
> FETCH 1.MIME field gives empty result for simple message
> --------------------------------------------------------
>
>                 Key: IMAP-364
>                 URL: https://issues.apache.org/jira/browse/IMAP-364
>             Project: JAMES Imap
>          Issue Type: Bug
>          Components: Mailbox
>    Affects Versions: 0.3
>         Environment: Linux
>            Reporter: Giridhar Kannan
>              Labels: imap
>         Attachments: 2
>
>
> FETCH BODY[1.MIME] for simple message (no composite parts in it) throws 
> "Unexpected EOF" exception

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.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