How to get the most recent email body text and ignoring the previous threads when we reply to email in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 04:55 AM
Hi Team,
I followed community thread on this requirement to get the most recent email body text and ignoring the previous thread when replying email for inbound action but got no luck. can anyone guide me on this or help me on this.?
Regards,
Atul Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 05:02 AM
Hi Atul,
This is how we have configured to take the latest reply from the inbound email action
var messageContent = email.body_text;
if (messageContent.indexOf("From")!=-1)
{
messageContent = messageContent.substring(0, messageContent.indexOf("From")).trim();
}
else
{
messageContent = messageContent.trim();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-24-2017 07:15 AM
Thanks Vinod, Let me check and i will come back.
Regards,
Atul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2017 05:03 AM
Hi Atul
I need your help in snow application developer training , can u share ur email with me to discuss more if possible.
Thanks
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2018 03:14 PM
Hi. Just double checking on this. Since I'm not savvy about the code you provided for the inbound action, does it strip all but the actual top level response?
Thanks,
~Paul