[ https://issues.apache.org/jira/browse/NIFI-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
archon gum updated NIFI-6695: ----------------------------- Description: Currently, both `ExtractEmailAttachments` and `ExtractEmailHeaders` will validate `SendDate` from header. But, in fact, email files(commonly ends with .eml) may not have a send date because emails can be saved without sending(e.g. save draft email as a eml file or create via Java or others). Therefore, we shouldn't validate `SendDate` in this case. The screenshot below is a operation: export draft as a .eml file. !save-draft-as-a-eml-file.jpg! was: Currently, both `ExtractEmailAttachments` and `ExtractEmailHeaders` will validate `SendDate` from header. But, in fact, email files(commonly ends with .eml) may not have a send date because emails can be saved without sending(e.g. save draft email as a eml file). Therefore, we shouldn't validate `SendDate` in this case. The screenshot below is a operation: export draft as a .eml file. !save-draft-as-a-eml-file.jpg! > ExtractEmailAttachments/ExtractEmailHeaders should not validate 'SendDate' > -------------------------------------------------------------------------- > > Key: NIFI-6695 > URL: https://issues.apache.org/jira/browse/NIFI-6695 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 1.9.2 > Reporter: archon gum > Assignee: archon gum > Priority: Blocker > Attachments: Extract_non-send-date-eml.xml, > save-draft-as-a-eml-file.jpg, this is subject.eml > > Time Spent: 10m > Remaining Estimate: 0h > > Currently, both `ExtractEmailAttachments` and `ExtractEmailHeaders` will > validate `SendDate` from header. > But, in fact, email files(commonly ends with .eml) may not have a send date > because emails can be saved without sending(e.g. save draft email as a eml > file or create via Java or others). > Therefore, we shouldn't validate `SendDate` in this case. > The screenshot below is a operation: export draft as a .eml file. > !save-draft-as-a-eml-file.jpg! -- This message was sent by Atlassian Jira (v8.3.4#803005)