on 11-25-2009 2:36 PM
Hi all,
I have the following scenario: Sender Mail >> RFC
As I can receive multiples attachments I´m using payload swap bean and adapter module to get all attachments together in the first attachment.
In most cases is working very well, but in some cases the xml attachment is coming as a ".bin".
The same mail with this wrong format, when it´s been forwarded, comes with the right xml file so I can figure that is the mail format sent by vendor.
I tried to simulate this error myself and I could observe that when I change the message format from html to plain text in my outlook I get the same error, the attachments comes as .bin
Does anyone know how can I receive those mails in the right format?
Thanks for your help!
Vanessa
Hi Ravi, thanks for your help.
I have configured:
TRANSFORM > swap.keyName > Content-Disposition
TRANSFORM > swap.keyName > Content-Description
TRANSFORM > swap.keyName > attachment;filename="MailAttachment-1.xml"
TRANSFORM > swap.keyName > MailAttachment-1
When the mail comes as html format is working fine, but not working when comes as plain text.
Any Idea?
Regards
Vanessa
Edited by: Vanessa Balsanelli Zocaratto on Nov 25, 2009 5:10 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vanessa,
If your MIME type comes as "application/octet-stream" or similar content-type, try changing your attachment to "text/xml" or "application/xml" content-type.
The attachment would come as bin extension as it is an extension associated to "application/octet-stream" MIME type.
Regards,
Rogério
Hi Vanessa,
What value did you specify for swap.keyValue attachment;filename?
Try specify some file name with an xml extension explicitly.
eg:
localejbs/AF_Modules/PayloadSwapBean TRANSFORM
TRANSFORM swap.keyValue= "Attachment1.xml"
Regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.