function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pete WillisPete Willis 

Remove email disclaimers from incoming emails

Hi All

I wonder if someone can point me in the right direction. We are using email to case which works great. What I am trying to acheive though is to parse inbound emails and strip out the footer disclaimers.

I am currently copying all case emails inbound and outbound to case comments. With the disclaimer though its pretty messy. I'd like to clean up and capature the body of the email minus the email footers / disclaimers. I've found plenty of solutions to remove attachements but not much that helps with trying to clean up emails.

Any help would be much appreciated.

Thanks

Pete
NagendraNagendra (Salesforce Developers) 
Hi Willis,

First and foremost sincerely regret the delayed reply.

Please check with the below link exactly with similar issue which has workaround for removing email disclaimers from incoming emails. Mark this as solved if it's resolved.

Best Regards,
Nagendra.P