cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Mail Adapter: Attachment Rename

Former Member
0 Kudos

Hi All,

In a Proxy to Mail Scenario, We are receiving the Payload as MainDocument.txt.

We used 'AF_Modules/StrictXml2PlainBean' for converting xml to csv.

I tried using 'AF_Modules/MessageTransformBean' to change the attachment Name from MainDocument.txt to ABC.csv .

Still the attachment name remains as MainDocument.txt. Are we missing some thing for this?

or Do we need to go for custom adapter module / Mail Package for changing Attachment Name.

Thanks & Regards,

Hitesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

This issue is resolved.

Corrected the Sequencing for the Modules i.e. StrictXML2PlainBean comes firt and the Message Transform Bean.

Thanks & Regards

Hitesh

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos
MichalKrawczyk
Active Contributor
0 Kudos

hi,

1. MessageTransformBean is enough for setting a static name

2. in case you'd need to make it more dynamic - have a look at my blog:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2006/02/23/xi-dynamic-name-in-the-mail-attac...

Regards,

Michal Krawczyk