Skip to main content

ExtractEmailAttachments

Description

Extract attachments from a mime formatted email file, splitting them into individual flowfiles.

Tags

email, split

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription

Dynamic Properties

This component does not support dynamic properties.

Relationships

NameDescription
attachmentsEach individual attachment will be routed to the attachments relationship
failureFlowFiles that could not be parsed
originalThe original file

Reads Attributes

This processor does not read attributes.

Writes Attributes

NameDescription
email.attachment.parent.filenameThe filename of the parent FlowFile
email.attachment.parent.uuidThe UUID of the original FlowFile.
filenameThe filename of the attachment
mime.typeThe mime type of the attachment.

State Management

This component does not store state.

Restricted

This component is not restricted.

Input Requirement

This component requires an incoming relationship.

System Resource Considerations

This component does not specify system resource considerations.

See Also