Restrict Inbound email action for specific third party users

Tapish Sharma
Tera Contributor

Hi Everyone,

I have a requirement where I need to allow only some third party guests to perform email inbound action. These email ids are not present in the system. How can we achieve this ?

 

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

You can use email filters to ignore the emails

Email filters

you can also block it based on the domain

Block emails from domains

You can also use the condition field in the Inbound email action

Ignore if the email came from gmail.com

email.from.indexOf("@gmail") == -1

Regards
Ankur

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

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

You can use email filters to ignore the emails

Email filters

you can also block it based on the domain

Block emails from domains

You can also use the condition field in the Inbound email action

Ignore if the email came from gmail.com

email.from.indexOf("@gmail") == -1

Regards
Ankur

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

Hi Ankur, How do I include them for example accept emails only from gmail. What should be the value then ?

Hi,

then you can use that inside the script and check what is the domain of the incoming email

Regards
Ankur

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

Can we not add positive condition in 'condition' field?find_real_file.png