Github user trixpan commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1083#discussion_r81533345
  
    --- Diff: 
nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/AbstractEmailProcessor.java
 ---
    @@ -348,14 +345,11 @@ private void transfer(Message emailMessage, 
ProcessContext context, ProcessSessi
             long start = System.nanoTime();
             FlowFile flowFile = processSession.create();
     
    -        flowFile = processSession.append(flowFile, new 
OutputStreamCallback() {
    -            @Override
    -            public void process(final OutputStream out) throws IOException 
{
    -                try {
    -                    StreamUtils.copy(emailMessage.getInputStream(), out);
    -                } catch (MessagingException e) {
    -                    throw new IOException(e);
    -                }
    +        flowFile = processSession.append(flowFile, out -> {
    --- End diff --
    
    @olegz happy to follow you lead but are you sure it isn't 1.0 only? 
    
    If I recall correctly the email processors were being ironed out few days 
prior to 1.0 getting released.



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