Github user btwood commented on the issue:
https://github.com/apache/nifi/pull/2111
This is done.
This PR does the following:
- Handles the Null Pointer Exception when parsing email addresses (lack of
address will not cause the Processors to fail)
- Adds the "Use Strict Address Parsing" Property to the ExtractEmailHeaders
Processor to allow the user to tune the strictness of email address parsing
- Relaxes the strict email address requirement on the
ExtractEmailAttachments Processor (from email doesn't need to be valid and is
not used in the internal logic of the Processor)
- Adds unit tests for non-strict address parsing
- Fixes GennerateAttachment.java to return the correct value
Submitting this for review and merge.
---