on 03-27-2015 8:59 AM
Hi All,
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.
Regards,
Azhar
Pi is made for exchanging business content between application systems.
Why you do not simply forward the mails to the relevant users by an outlook rule? You need no PI here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
I agree with your suggestion. However in our scenario, PI needs to read emails from the Client Outlook server and pass the data to receiver in HTML format. This is where we are facing challenge.
The issue is that each email sending server (eg: yahoo, gmail, hotmail, rediff, etc) is having different encoding formats. Inorder to pass data to receiver in html format, PI needs to do all the decoding logic (for base64, Quoted Printable...and so on) and forward it to the receiver.
As more and more Users / domains start sending the emails, we are facing a challenge to decode these emails and the html at receiver is not displaying correct data.
Hence instead PI doing decoding and placing the HTML data in receiver, we are trying to check possible solution / approach to achieve this without burdening PI as a middleware. If PI can pick the incoming emails as is and place in receiver system in .eml format, it will provide the complete details to the receiver from which they are pick required content to display in their application.
Let us know, if there exists any standard way in PI to achieve this...or any other possible solution is also most welcomed.
Regards,
Azhar
Hi All,
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)
Regards,
Azhar
Hello Azhar,
were you able to find a solution for this? I have a very similar requirement.
Thanks!
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Azhar,
Have you checked this wiki Step by Step Mail To File Scenario - Process Integration - SCN Wiki?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.