All,

I have been considering writing a "ListenSMTP" processor and was wondering
*what is the best way of dealing with multiple attachments*.

Looking in here
https://mail-archives.apache.org/mod_mbox/nifi-users/201602.mbox/%3ccaljk9a5ulcitnfo0dlsvd5d-jkcsqm+rqjxuruzwgrdbqad...@mail.gmail.com%3E


I can read Joe suggesting not using attributes to store large volumes of
data, so far so good, however, as far as I understand a flowfile can only
contain one "content".

Currently the way I envision this would be modular that taps into the
pattern set by ListenSyslog / ParseSyslog:

ListenSMTP - A processor that only provides an SMTP interface

ParseEmail - A processor that reads the flowfile holding the email body and
split it into 1 or more flowfiles containing the attached mime objects.

The advantage here is that people can use FetchFile or to create a GetIMAP
processor to parse messages.

Would anyone have a different view on how to achieve this?

I thank you in advance

Reply via email to