Email port is not retrieving the body

hi,

Email port is not retrieving the body when the “Content type: text/plain; charset=utf-8”. The same it’s working with HTML messages. But I have the requirement to extract body from the text/plain messages.

I’m using below services,

pub.mime:createMimeData
pub.mime:getBodyPartContent
PSUtilities.stream:streamToBytes(mapping the ‘content’ from ‘getBodyPartContent’)
pub.string:bytesToString

Port settings:
Invoke service for each part of multipart messags- No
Include email headers when passing message to content handler- Yes

Thanks,
Karthik

Karthik – Are you using smtp service for this requirement or did you write any java customized service. Please share more details.

Thanks,

Hi,

Thanks for the reply. I got it worked now!

Thanks,
Karthik

Karthik,
could you please describe your solution, facing same issue in my Scenario.

Thanks

Hello Karthik,
I’m facing same issue.What was your resolution for this?

Hello wM experts,

Please let us know a solution for this.

Thanks
Preethi