Github user trixpan commented on the issue:

    https://github.com/apache/nifi/pull/1083
  
    @bbende this should solve the IMAP issue.
    
    Notes:
    
    1. This PR reads the content of the message into memory, in contrast with 
the original design that relied on InputStream to write the content into the 
FlowFile. This is due to the fact that JavaMail doesn't seem to have an 
inputstream method capable of providing an RFC2822 message. In case anyone has 
an idea on how to improve that, I am keen to incorporate into this PR.
    
    2. The PR includes a GreenMail based junit and required dependency to ease 
debugging. Since I am not sure if we want to refactor the jUnits already in 
place (they seem to work well) with GreenMail based jUnits I aded very little 
coverage. Let me know your preference and I will either remove the new jUnit or 
to refactor @olegz original jUnit to use GreenMail based unit testing.
    
    3. This will fail contrib-check. To be addressed once we decide what to do 
with the jUnit tests mentioned above.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to