on 10-23-2013 10:07 AM
Hi All,
I have following scenario : File -> Mail
From file channel , I am picking 2 files: abc.xls and def.dat by checking additional files so that these 2 files will come as an attachment in the payload to PI .
Now in Receiver mail adapter , I have checked mail package and keep attachment option .
I am getting an email with the 2 fattachments (abc.xls and def.dat which were picked from the sender channel )
But the attachment names in the mail is : abc.xml , def.xml
Can anyone guideme regarding how to retain the file extension in the email attachments. My final email should contain
abc.xls and def.dat as attachments .
Regards
Vinay
Hi Vinay,
You can use standard module localejbs/AF_Modules/MessageTransformBean and
parameter "Transform.ContentDisposition" in the Module configuartion of receiver mail adapter to rename the names of file attachments.
Thanks,
Vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinay,
Please check my blog: Retaining SOAP Adapter Attachment Names
The concept will be applicable for mail adapter as well.
Regards,
Praveen Gujjeti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Check below article (very much similar to what u need):
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.