Github user trixpan commented on the issue: https://github.com/apache/nifi/pull/856 :+1: Tested manually and also forced some exceptions. ListenSMTP seems to handle errors very well, example: Place breakpoint on `processSession.getProvenanceReporter().receive(flowFile, "smtp://" + host + ":" + port + "/", watch.getDuration(TimeUnit.MILLISECONDS)); ` ``` 220 bermudatriangle ESMTP Apache NiFi SMTP helo , 250 bermudatriangle mail from: x 250 Ok rcpt to: y 250 Ok data 354 End data with <CR><LF>.<CR><LF> a . ``` evaluate flowFile so that is null. Let process continue. Following message is returned. ``` 421 4.3.0 Mail system failure, closing transmission channel Connection closed by foreign host. ```
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---