How to read body from a reply mail

email
activities

#1

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


#2

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

Regards,
Arivu


#3

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

Split(emailBody,"From:",2)(0)


#4

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


#5

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