Skip to Content

Sender Email Adapter: Process multiples attachments of a single email

Hello all,

is there any way to process all the attachments in a single email as different messages? I have the scenario that i receive an email with multiples attachments and i would like to process all of them as if they were single messages. Is it possible?

Thanks in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 15, 2010 at 05:26 PM

    Hi,

    >>>I have the scenario that i receive an email with multiples attachments and i would like to process all of them as if they were single messages. Is it possible?

    yes and no 😊

    no - you cannot process them as XI messages - only as one message with multiple attachments

    yes - you can combine them all into one message and then split with different mappings to the same receiver

    (multiple lines in interface determination)

    or you can even split them one by one in the adapter module and send to XI as many messages as

    attachments that you have (this approach requires some dev in the adapter module but it's doable)

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

    • That's what i want to try!! I have developed a module to extract all the attachments from an email (well a .eml file though). But then how can i return multiple inputModuleData? what i'm doing now is to use the method inputModuleData.setPrincipalData to set the first attachment, but i don't know what to do with the others. And i don't wanna use inputModuleData.setSupplementalData because then i generate attachments. How i make so my module generate more than one message??

      Thanks in advance!!

  • Mar 16, 2010 at 09:49 AM

    any idea?

    Add comment
    10|10000 characters needed characters exceeded