Email to File scenario - .eml
We have an Interface (Email to File Scenario). PI is connected to Outlook server using Sender Mail Adapter using POP (with Mail Package).
We need to read the email and save it as-is in .eml format in File server. Once the users opens that ,eml file, it should be visible as the actual email that was sent to Outlook server (containing all rich text data and attachments in it)
Please let us know if there is any standard approach to achieve this in PI.
Azhar Shaikh replied
We have used Java Mapping with standard Mail APIs to read & parse the email content. Using Std Mail APIs we are able to read the email & write it in HTML format as required by receiving system.
(Able to parse text/html, Quoted Printable, Multipart alternative..etc mail formats)