Skip to Content

Processing of different mails attachements from same mail account

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 07, 2014 at 10:30 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 11:08 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.