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

1 Like

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

Regards,
Arivu

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)

2 Likes

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.

where to declare these condition?

Hi @vvaidya, is there any way to read only the reply part of the email from email body using outlook filters /.net methods ?

Hey, Is there any better solution than using “From:” Regex?