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

Stefano Bagnara commented on JAMES-461:
---------------------------------------

It is ok if it needs javamail. The problematic import is the one from 
"javamailDIR".

You should use MimeMessage instead of MaildirMessage.
The problem is the missing getUniq method.

But reviewing the code I see further problems: using that code you are not able 
to retrieve a message from a repository given the message key (name) without a 
prior "list()" call. This is not part of the "repository contract".

If we cannot find a workaround for this we probably should wait until we'll 
refactor the repository interface so that the store() return an handler to 
retrieve the message later.


> Maildir support
> ---------------
>
>          Key: JAMES-461
>          URL: http://issues.apache.org/jira/browse/JAMES-461
>      Project: James
>         Type: New Feature
>     Reporter: Norman Maurer
>  Attachments: MaildirMailRepository.java
>
> Add Maildir support..

-- 
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