Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

reading email body from inbound email

Deepika54
Tera Contributor

hi experts,

 

An email will be coming to servicenow and inside that email's body , there will be data. i have to read that data and populate it inside a table in servicenow.Can anyone tell how to read the data from the emai's body.

7 REPLIES 7

Mark C_
Tera Expert

Hey guys , I can't use the email.body_text to copy into the incident work notes because it is not complete.

If I use the email.body_html, how do you parse so I could get rid of the html tags and just copy the text?.

 

Background:

The incoming email can be previewed ok, but the body text only contains the footer/auto message.

A quick solution to it is you can find the '<' '>' and replace the text between them with a space , to remove the html tags from email body