cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI 7.4 Sender Mail Adapter FileName issue

0 Kudos

Hi All,

We have a Mail to File Scenario that requires fetching two attachments from an Email and saving to UNIX.

Currently the email contains only 2 .CSV attachments.

I created two receiver channels to fetch each file and it works however the issue is with the file name.

Below is the Sender channel Configuration.

Used the below Modules to try swapping the attachment name of first attachment. However it didnot work.

The Dynamic Configuration field Content-Description that usually has the Attachment name is missing.

So I used the Content-Disposition Value, however the value has attachment; filename="filename.csv" .

I need help to either have the Content-Description field in the SOAP Message or remove attachment; filename=" " from Content-Disposition.

Please help.


Below is one of the Receiver Channel Configuration.


Files are getting saved as below.


Below is the SOAP Document from the message.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bobby

I´m facing the same situation to develop a mail to file scenario (not getting the filename properly).

Currently we are running SAP PO 7.31 single-stack (java only).

Did you have found any solution for this case using adapter modules? If not which workaround solution have you put in place?

Alternatively I found a "plan B" solution that is requesting to send the filename in the subject of the mail message so that we can capture this information in the Header of the Dynamic Configuration message as follows:

Mail Sender Setup:

File Receiver Setup:

If we proceed on that way the filename will arrive properly in the FTP Server.

Off course this is far away to be the best solution for this case and I´m still looking for a solution using adapter modules. 

Looking for your inputs. Any feedback are welcome.

Thanks a lot

Best Regards

Wesley