Hi Joe,

I am aware of it, reason I called it out openly so if someone can try to
assist.

In the past, I have used created content within the junit or crafted it
within my lab, but in the case of TNEF I could not find a way of creating
the files (POI does not have this ability and outlook seems convinced to
create proper HTML attachments).

As consequence I reached to the files stored in here:

https://svn.apache.org/repos/asf/poi/tags/REL_3_14_BETA1/test-data/hmef/

I also checked their NOTICE or LICENSE files but no references, nor are the
the samples mentioned within their maven profiles. Not ideal but so far the
best I could find so far. Worse thing comes, we restrict the test units to
an invalid content, at least we will know it fails safely. :-)

Hope this helps to clarify.

On Tue, Aug 9, 2016 at 11:19 PM, Joe Witt <[email protected]> wrote:

> Andre
>
> We cannot copy source material even for testing unless we fully and
> properly account for licensing and notice concerns.
>
> Thanks
> Joe
>
> On Aug 9, 2016 8:25 AM, "Andre" <[email protected]> wrote:
>
> > All,
> >
> > PR817[1] introduces an winmail.dat extractor.
> >
> > Following people's feedback, I created a separate processor to handle the
> > TNEF attachments.
> >
> > This means the typical deployment will look like:
> >
> > (ListenSMTP || GetPOP3) --> ExtractEmailAttachments --> RouteOnAttribute
> > [filename=winmail.dat] --> ExtractTNEFAttachments
> >
> >
> > Since I could not generate a TNEF (where are the winmail.dats when you
> need
> > them?!?!) I ended up using the TNEFs available on POI's upstream test
> > units. winmail.dat donations to improve the test unit coverage are
> > welcome...
> >
> > Please test, once you confirm this is working I will be happy to create a
> > processor to extract and parse TNEF body and mapi Attributes as well.
> >
> > Cheers
> >
> > [1]https://github.com/apache/nifi/pull/817/commits
> >
> > On Mon, Jul 25, 2016 at 1:57 AM, Toivo Adams <[email protected]>
> > wrote:
> >
> > > I support Oleg opinion.
> > > Do one thing and do it well.
> > >
> > > Thanks
> > > Toivo
> > >
> > >
> > >
> > > --
> > > View this message in context: http://apache-nifi-developer-
> > > list.39713.n7.nabble.com/ListenSMTP-processor-tp10510p12891.html
> > > Sent from the Apache NiFi Developer List mailing list archive at
> > > Nabble.com.
> > >
> >
>

Reply via email to