on 10-28-2009 12:51 PM
Hello,
We have a scenario where we send Idoc-xml as email attachment. Now it sends them with content type multipart/related and receiver cannot use them in that way. How do I change content type to multipart/mixed? This might help extracting attachment.
Mail adapter, Transport protocol, SMTP, message protocol, XIALL.
Regards
Pekka
Any ideas, anybody? I have not solved this yet.
-Pekka-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello again,
My solution works and does not work. Content type is ok, but strange characters appear to the end of the attachment data.
Like this
...</E1EDS01></IDOC></ORDERS01>H úãž6×½ ã½5Õ×¼ÛgžÛNÝ}þ[ëMu201E
Where did these come from? I tested in a way that I changed the ContentType back to application/xml and attachment is fine again.
Regards,
Pekka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Following seems to work.
Module key: rename
Parameter name: Transform.ContentType
Parameter value:multipart/mixed;name="Order.xml"
-Pekka-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the MessageTransformBean module.
Search for more details.
Best,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello again,
My solution works and does not work. Content type is ok, but strange characters appear to the end of the attachment data.
Like this
...</E1EDS01></IDOC></ORDERS01>H úãž6×½ ã½5Õ×¼ÛgžÛNÝ}þ[ëMu201E
Where did these come from? I tested in a way that I changed the ContentType back to application/xml and attachment is fine again.
Regards,
Pekka
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.