How to analyse Headers of email which we receive at servicenow mail box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2018 09:56 PM
Hi All,
I need to give when to run conditions for inbound actions..
I have a email which is coming to servicenow mailbox, Could some one help me how to analyse header of email. Like to give when to run conditions in inbound actions.
Below is the header of email.
=========
Return-Path:<proddata@aaadata01.xxx.com>
Delivered-To:<xxxdev@xxxdev.service-now.com>
Received:from bbb.iad0.service-now.com
by bbb.iad0.service-now.com (Dovecot) with LMTP id TWGWFYZYtFqhfgAAVjKaqw
for <xxxdev@xxxdev.service-now.com>;
-===========
Regards,
Roopa

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 08:29 AM
Instead of that we can directly use in condition below script
if (email.origemail.indexOf('proddata@aaadata01.xxx.com')>-1)
Please mark this response as correct or helpful if it assisted you with your question.