cancel
Showing results for 
Search instead for 
Did you mean: 

how to download / read text attachment in Sender Mail Adapter IN XI

Former Member
0 Kudos

Hi

I would like to know how to download / read text attachment in sender mail Adapter & sent same attachment to target system using file adapter.

Please help how to design / resolve this concept.

Regards

DSR

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

You may use PayloadSwapBean adapter module in sender mail channel to take the attachment as payload. This could then be sent to file receiver.

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek

Thanks for the sugessstion!!!!

We have requirement in which we have to download the attachment in incoming mail and save the file to target system using receiver mail adapter.

The file is usually encrypted and we have planned to decrypt( We have already developed a module) the same in the receiver file adapter. Could you please vaidate the design.

Regards

Abhishek Mahajan

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos
I would like to know how to download / read text attachment in sender mail Adapter & sent same 
attachment to target system using file adapter.

Take help from this blog:

/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step

From the blog:
However in most cases 
our message will not be a part of the e-mail's payload but will be sent as a file attachment. 
Can XI's mail adapter handle such scenarios? Sure it can but with a little help 
from the PayloadSwapBean adapter module

Once your message (attachment) is read by the sender CC, you can perform the basic mapping requirement (if any) to convert the mail message fromat to the file format.....configure a receiver FILE CC and send the message...this should be the design...

Regards,

Abhishek.