on 02-11-2013 3:59 PM
Hi,
We have an application whose users want emails to be delivered directly into their system. The software they use has no email engine of it's own so they need another way of doing this. It was suggested PI could help them out. Having been asked to investigate my initial plan would be for the following to happen:
1. Mail Sender Adapter configured to poll from relevant exchange account via POP3
I have set this up and it works as expected.
2. SOAP Recevier Adapter configured to pass email details to back end application via Web Service
Question is what happens to the attachment within Mail Attachment-1 ?
My guess was that perhaps we forward a link to the attachment in the back end application web service. The attachment itself remains somewhere in the SAP infrastructure until it is opened via the link provided to the back end app. At that point they open and save the attachment locally.
Am I in the right ball park ? Bottom line is getting the email contents to a receiving app is easy. It's just getting the receiving app in connection with any associated attachments which I need some guidance on.
Cheers,
PaulC.
Hi,
Looking around the web I can see mention of the PayloadSwapBean but I'm not sure if this is what I need. Just to summarise again what I am trying to do (if possible):
I now want to send both the contents of Mail Message AND MailAttachment-1 to a back end application via web service. If this simply isn't possible then I can rule out PI as an option.
Cheers,
PaulC.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Been thinking further on this and maybe the only answer is the PayloadSwapBean. The screenshot below is PI picking up an email via Mail Adapter using POP3. As you can see there is the MailMessage component and one attachment:
Latest thinking on this is that perhaps the MailMessage could be sent via web service while the attachment is sent via File adapter. Is it even possible to have 2 receiver adapters for the same message ? Starting to think to have PI acting as an email engine isn't really possible.
PaulC.
You might want to see Stefan's reply on this thread
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.