Skip to Content
0
Former Member
Dec 09, 2009 at 03:47 PM

Mail 2 File scenario - problems with attachments in file receiver

44 Views

Hi experts,

I want to receive PDF documents via email and send them thru file adapter. Now I have some trouble with the attachments. I have configured my mailsender as follows:

localejbs/AF_Modules/PayloadSwapBean TRANSFORM

sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean mail

Modules:

TRANSFORM swap.keyName Content-Disposition

TRANSFORM swap.keyName Content-Description

TRANSFORM swap.keyValue MailAttachment-1

TRANSFORM swap.keyValue attachment;filename="MailAttachment-1.pdf"

Now what modules do I have to use in my file receiver when I want to write the PDF-attachment to my directory? I already tried a lot and referred to many blogs but nothing really worked. I only get my header information in the output file.

Any ideas?

Thanks in advance.

Best regards.

Oliver.