How to read body from a reply mail



Hi @badita

I don’t want to read whole mail conversation and I need only the content of body from a reply mail ?

Could you help me in solving this…

Thanks in advance


Use this syntax MailMessage.body you can get the body information alone.



Stupid solution ,but did you try this? Splitting body based on the first occurance of From: word. May not work for all.



I tried this, but as you said it may not work for all that’s the reason looking for better solution. Thank you for your efforts


If you have a pattern in your email chain, you should be able to extract the latest reply.