Skip to Content
0
Nov 24, 2011 at 02:42 AM

Copy attachment in mail

24 Views

Hi all,

An interesting little problem. I have a mail --> ECC proxy scenario. My mail has 3 attachments; 1 is swapped (PayloadSwapBean) and mapped to the proxy where it creates an invoice. The other two attachments are carried in the message header and linked ( in the proxy) to the invoice via the content server. It works fine.

Now, I would also like to add the third attachment (the one I swap) as another attachment to the invoice. So I still need to swap the attachment to create the invoice, but I also need to keep it to create and link the content server entry.

My guess is that I will need a new adapter module - something like a PayloadCopyBean. I've steered clear of creating modules so far.

Any other ideas ??

Thanks,

Guy