Is there a way we can parse and get the value of "X-Original-From" from the header of an email which got forwarded/redirected to Servicenow

Sn22
Kilo Contributor

HI All, 

 Our instance has too many forwarded/redirected emails coming in and we want to fetch the "X-Original-From" from the header, is there a way to do that via scripts ?. email.origemail does not give the right sender address hence we want to do it manually.  

 

 

 

 

 

@Ankur Bawiskar @Chuck Tomasi 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Did you try to print what came in this

email.headers

From there if you could do string manipulation and search for your sender

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader