on 11-01-2008 3:25 AM
Hi Experts,
In an Proxy --> XI --> Mail scenario, how do I configure the Mail Receiver Adapter to rename attachments?
There is a PDF file and a DOC file that the Proxy is sendign to PI and I can see them in the payload with filenames file1.pdf and file2.doc
How do I configure the Mail receiver adapter to send them as attachments retaining the same filenames? Can I atleast assign any other name to the files?
Any method other than writing own Adapter Module?
Regards,
Shobhit
hi
for wring adapter modules
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shobhit
If the attachment name is not dynamic (like timestamp) etc then you can use MessageTransformBean to change the attachment name at Mail adapter level.
Transform.ContentDisposition attachment;filename ="yourfilename.extension"
Transform.ContentDescription attachment name
Transform.ContentType your type like text/plain or application/pdf.
If you are using Mail package then you can set the attachment name from mapping itself.(here even Timestamp and Dynamic values work)
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Check the following link for the standard modules existing
http://help.sap.com/saphelp_nw2004s/helpdata/en/84/2e3842cd38f83ae10000000a1550b0/frameset.htm
regards
Ramesh p
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.