If the person replying to a “ticket” is using a mail client such as gmail that reply will show a whole conversation thread when I do @message.body.decoded rather than the text that they typed.
Is there a way to extract just that portion of text?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Generally, the existing replies are formatted with a preceding
>. One option is to extract lines that do not begin with that character.So you look at the email as plain-text, you can extract it. Here is an example: