cancel
Showing results for 
Search instead for 
Did you mean: 

Sender mail Adapter Issue on Attachments**

deva_gembali2
Participant
0 Kudos

HI Experts,

Here is the requirement on MAIL sender (only Attachment .xlsx) to FTP folder.

Currently, I am configuring as Message Protocol: XIPAYLOAD

Content-Encoding: None

Keep Attachments: YES

Then Module parameters:

1. AF_Modules/PayloadSwapBean :

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

swap.keyName:Content-Type swap.keyName:Content-Disposition swap.keyValue:attachment;filename='MailAttachment-1.xlsx" swap.keyValue:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

An error I am getting: exception caught during processing mail message; com.sap.aii.af.lib.mp.module.ModuleException

Please advise me Module parameters to get?

How to send only attachments to FTP from Mail adapter Mapping if needed ? i hope no need any mapping.

Deva

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190293
Active Contributor
0 Kudos

Hi Deva!

If you have PI 7.31 SP014 or above, you can use sender mail adapter parameters to send every attachment as separate message having attachment as main payload.

https://launchpad.support.sap.com/#/notes/0002040884

Regards, Evgeniy.