RMG,
Please tell me how i could send a xml string as an e-mail attachment using SMTP service
Saritha,
I know you ask this question to RMG, so if you and RMG don’t mind - may I try? Use pub.string:stringToBytes to convert the xml string to bytes, then map the bytes to the attachments/content of the pub.client:smtp service. Besides this you will need to set other parameters as applicable, eg to, cc, from, subject, mailhost, mailhostPort, etc. Also, in answer to your earlier question about the content type and filename refer to: [url=“wmusers.com”]wmusers.com
Rohit
Saritha,
Please follow as Rohit got the answer.Its pretty straight forward.
HTH,
RMg.
hai RMG,
Would u plz help me the flow steps how can i get an XML document and post it to SAP as an IDOC using HTTP post.
Please use the search functionality in this site,its been discussed in various threads.so use keyword IDOC or transformHierrachytoFlat etc…
HTH,
RMG.
Thanks RMG and Rohit… i dint Use pub.string:stringToBytes to convert the xml string to bytes, i simply mapped string instead of converting it to bytes.It works good.
Saritha
You got it.