on 12-04-2014 11:19 PM
Hi Experts,
I have a requirement that, PI needs to read a mail having a PDF attachment and detach the attachment and place it in an application folder(It is not to read PDF file and convert to xml). The data in PDF file looks like an invoice (having logo, address, details in tabular format).
My clarifications are:
1. Can we detach the attachment from mail and place in a folder? If so, do we have any standard SAP module to be put in sender email adapter; if not how it can be acheived.
2. If we have to convert this kind of PDF file to XML format, how can we do this.
Could you please share your thoughts.
Thank You for all your support,
Regards,
Ravi.
Hello,
>>I have a requirement that, PI needs to read a mail having a PDF attachment and detach the attachment and place it in an application folder
It seems that ur interface is a by pass kind of scenarion - dump the attachment without reading the content?
If yes, then u don't need to create any ESR objects and just use payload swap bean to read the attachment as the main document and if u want to dump file on app server with the same name as that of attachment then check this blog -
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit and All,
I have configured sender mail adapter, using PI 7.31 Java stack only and used the blog you shared above
I gave Transport Protocol: POP and the value for URL with below 2 values
URL: smtp://<hostname>
URL: url-pop://<hostname>
gave user credentials.
The channel is pinged successfully with either of above values; but it says channel not initialized.
I have searched all the SDN blogs, forums related to this error message; but no use.
Could you please throw some iinputs on this.
I am strucked on this, please help
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.