I am using mailcore2 for email in my app.
I am using the below code for the email load body but it also shows an image description with name. I want only message body without image name. Is there any option?
private fun loadBody() {
mBodyOp = imapSession().plainTextBodyRenderingOperation(mImapMessage, mCurrentFolder.tag, true)
mBodyOp?.start(object : ShortOperationCallback(context) {
override fun succeeded() {
vEmailText.text = mBodyOp?.result()
}
})
}