on 06-09-2015 8:09 AM
Hi Experts,
Good day..!!
Am facing some issue while sending the mail with content and attachment.
The content(body) and the attachment file are sent in mail as attachments only.
Interface Flow :
SOAP --> PI(7.31 dual stack) -->Mail
Receiver Mail adapter setting:
transport protocol = SMTP
message protocol = XIPAYLOAD
Use mail package and keep attachments are checked
Scenario :
Whenever the data is sent from the webservice, some trasformation is done and the data is sent to the "CONTENT" field as HTML format.
So, the below values are passed.
CONTENT TYPE --> text/html;charset="UTF-8"
CONTENT DISPOSITION --> inline
If an attachment is sent along with the actual message,that has to be passed as an attachment in the mail,as it is.
Issue :
If a message is sent from the webservice without an attachment , this setting works fine (am getting the mail with body in HTML format)
But if an attachment(.csv format) is also sent (with actual message) from the webservice,am getting a mail with empty mail body and two attachments (attachment.csv and main document).
Please assist me with a resolution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the setting of Read Attachment in your operation mapping?
Chechked or Unchecked?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
Have you tried to use MessageTransformBean and to set Transform.ContentDisposition with the value inline ?
Check this documentation Inserting MessageTransformBean in Module Processor - Adding Modules to the Module Processor - SAP Li...
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Iñaki Vila,
I tried using MessageTransformBean. But no luck
PFA - Screenshot of module in receiver mail adapter.
With Regards,
Deepak D
Hi Deepak,
I see totally right your configuration.
You can try a little trick and to try to move the payload attachment to inline email with PayLoadSwapBean, check the page 8 in this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0964d7c-e66e-2910-24bb-ac535e4a5...
Regards,
Hi Iñaki Vila ,
Again am facing the same issue. No luck
But when i download the attachments from mail and open them seperately,they are fine. (main document is having the HTML format and attachment as .CSV)
With Regards,
Deepak.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.