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

Aldrin Piri commented on NIFI-4036:
-----------------------------------

Looks like we are not also adding the Bcc recipients here: 
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/ConsumeEWS.java#L394

That causes the following to check to fail 
(https://github.com/apache/commons-email/blob/EMAIL_1_4/src/main/java/org/apache/commons/mail/Email.java#L1338)
 resulting in the stacktrace attached.

> ConsumeEWS cannot handle 0 recipients
> -------------------------------------
>
>                 Key: NIFI-4036
>                 URL: https://issues.apache.org/jira/browse/NIFI-4036
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.2.0
>         Environment: Windows 7, but also within a docker-environment
>            Reporter: Tim Fohrer
>         Attachments: nifi-app.log
>
>
> ConsumeEWS throws exceptions (stacktrace as attachment), when a mail within 
> the folder which has to be read has 0 recipients (to) but only bcc recipients.
> This mail cannot be fetched and further transported within the flow.
> Even more problematic is the fact, that other mails, which are also in the 
> folder and have to be read and transported, get lost. nifi just seems to 
> delete them on the exchange server and then forgets about them. they do not 
> appear as provenance data nor as a message in the success queue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to