on 02-19-2013 4:06 PM
Hi,
We have a requirement to do a couple of email sender interfaces. Currently it looks like we have to create a different email account for each interface.
Is it possible to have the email sender Communication Channel only process emails in the inbox which have a certain Subject? Or from a certain sender?
If this was possible then we could have a couple of interfaces all polling the same email inbox.
Thanks,
Gareth
Hi,
>>>r Communication Channel only process emails in the inbox which have a certain Subject?
yes - in mail sender apdater - set checkbox - set adapter specific message attributes
and then in receiver determination add a condition with this field - SHeaderSUBJECT
it will contain you e-mail subject
the same applies for sender field - SHeaderFROM
so both are possible,
ref:
http://help.sap.com/saphelp_nwpi71/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Sorry I should have said that this is the method we have chosen to use but there is a problem with this. We are using the PayloadSwapBean to get access to the attachment on the email but in this we have to configure the file type of the attachment. For example .txt or .xml
But, we need to be able to process multiple file types, so one interface will send an email with with Subject "Device" and a .txt file attached, a different interface will send an email with Subject "Customer" with a .csv attachment.
I know we can do this by creating a different email account per interface but i was hoping to create a generic email account.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.