+ Start a Discussion
Lee_CampbellLee_Campbell 

Converting HTML to Plain Text in Inbound Email

Hi folks,

 

Is there any way I can convert the body of an inbound email from html to Plain Text? I've set up a service to email directly into chatter, but html emails sent from my organisation into Chatter are all of over 1,000 characters in length (even if I send a blank email). So, I'm looking for a way to strip the body text from the emails and discard all the html "nonsense", rather than force users to send emails in Plain Text format, which they'll be disinclined to do.

 

Any help anyone can give would be massively appreciated.

 

Thanks,

Lee

Best Answer chosen by Admin (Salesforce Developers) 
Lee_CampbellLee_Campbell

I found a parsing method somewhere else on the forum. You asnwered my query without moving a muscle! Thanks!

All Answers

Lee_CampbellLee_Campbell

I found a parsing method somewhere else on the forum. You asnwered my query without moving a muscle! Thanks!

This was selected as the best answer
MrTikMrTik

Where is the parsing method you found?