I ran into a big problem. My task is to download some emails from the server using the IMAP protocol. This is achieved using the "receive mail (POP3 / IMAP)" entry, which downloads emails, but in binary format.
Binary files are .mailfiles that contain sender files, themes, bodies, and encoded attachments. I need to get separate files because I have to follow some steps with these files as input.
I saw that there are third-party libraries or utilities to decode the file .mailand get a list of attachment files. However, I want to make this process without any additional utility (because this would require a shell step, depending on SO).
Is there a way or trick to get attachments using only Pentaho job entries or conversion steps?
I am using version 5.1 of the Pentaho Kettle.
source
share