on 07-13-2015 7:41 PM
Hi,
I have a requirement of receiving mail from outlook mailbox at sender side and saving that mail as .MSG file in application server of receiver system.
Is it possible to achieve the same using PI 7.1?
Please suggest.
Thanks & Regards,
Praloy
Hello Praloy,
My few cents:
You can achieve this is 2 ways:
1. You need to write Java Mapping in PI to convert the incoming Email (from Sender Mail Adapter) to .MSG file using Standard Java Mail APIs
2. Alternatively a simpler approach would be to Pick .MSG files directly from Sender System (using File Adapter) instead of PI doing the conversions. You can check with your MS Exchange team to provide the Emails in .MSG format & dump into some Dir which PI can poll.
Saving Outlook Messages — MessageSave Documentation
Hope it helps
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praloy,
Yes, this is possible, but will require some custom development in part of generation of the MSG file. One of options is to enhance receiver (File) adapter logic with the custom developed adapter module which will convert the processed message from XML format into MSG format. For MSG file generation, you can find several open source (for example, Apache POI-HSMF) and commercial (for example, Aspose.Email developed by Aspose or JMSG developed by Independentsoft) Java libraries. You may also want to search over the Internet and find other similar libraries for MSG files generation.
Regards,
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praloy,
A good starting point is an official site of the project (https://poi.apache.org/hsmf/) and JavaDocs (POI API Documentation). Further examples you can find over the Internet searching for usage of specific classes.
Regards,
Vadim
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.