cancel
Showing results for 
Search instead for 
Did you mean: 

Email adapter

Former Member
0 Kudos

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.


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

azharshaikh
Active Contributor
0 Kudos

Hi Ravi,

Hope you have entered correct Mailserver and port details of your Mailbox. Can you give screenshot of your CC configuration you did.

Regards,
Azhar

Former Member
0 Kudos

Hi Amit and Azahar,

We are trying to connect to SAP Inbox(configured in ECC); but not the outlook server; so I have a doubt if IMAP, POP3 Protocols would support the connectivity to SAP inbox or they are restricted to Outlook only.

Please advise.

Thank You