Hi Sathyaraj
Still, I am getting the same error. Below is the flow of my code.
- I invoked pub.mime:getEnvelopeStream service. It’s output is a stream.
- Converted this stream into bytes.
- encoded bytes into base64 using service pub.string:base64Encode. It’s output is a string.
- Here I am invoking service pub.client:smtp. In attachements\conten, I passed this encoded string, contentType set to application/pdf, file name set to test.pdf and encoding set to base64.
Could you please let me know where I should try to decode it. I tried to decode it using 2-3 scenarios but still getting the same error.
Thanks in advance…!!
#Integration-Server-and-ESB#webMethods