Email body reduction for group email accounts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jgarcia
    Junior Member
    • Aug 2023
    • 18

    Email body reduction for group email accounts

    Hello everyone, could you help me with the following please?
    I have configured a group email account from which emails are successfully obtained, these emails that are obtained through a formula are added to the stream of the cases to which they correspond. The problem is that these emails, when added to the Stream, contain the entire email (Responses from the sender and the recipient). Is there a way to add to the Stream only the last thing that was written in the email and not the entire email?
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    can you share a screenshot. Not sure what you mean by last thing was written ?
    Rabii
    Web Dev

    Comment

    • jgarcia
      Junior Member
      • Aug 2023
      • 18

      #3
      I was referring to what is marked in the red box, I only wanted that to be added to the flow and not everything as you can see in the "Tercer correo" image.

      In the end I found the solution using regex to make only the framed thing added.​​
      Attached Files

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        You can create a before-save hook for the Note entity. Check type === 'EmailReceived'. Then apply modification of the 'post' field.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...