on 01-07-2014 10:19 AM
Can you please let me know how I can process different mail attachement in different scenario from same mail account.
eg. Two mails are there with subject : ab1 and 12n
I would like to process the ab1 with one interface and 12n with another interface based on the subject.
I know this can be done by setting Adapter Specific Message attributes in Sender Mail Channel, but let me know where can we filter the mails based on the subject.
Thank you.
Hello,
>>but let me know where can we filter the mails based on the subject.
I think u can do it at RD level, there is a context object available for the same.
SHeaderSUBJECT
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 NVR,
It depends on your requirement, if it would be different interfaces using the same receiver, then you need to do in in Interface Determination. If the receivers are different, Amit's suggestion would work. If you want other mails to be ignored, don't place it in the xpath.
Regards,
Mark
Hi
Use mail package in sender mail adapter,
Then create an 1:N mapping based on the subject. If subject is ab1 populate interface 1.
If subject is 12n populate interface 2.
So one scenario and one mapping will solve your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.