I have to allow more than one email address those can send emails to ServiceNow instance.

niveditakumari
Mega Sage

Hi, 

 

I have to allow more than one email address those can send emails to ServiceNow instance. 

I'm working on inbound action and I want to allow multiple domains hat can send emails to my ServiceNow instance and I want to create multiple email account for my ServiceNow instance. 

Can anyone please tell me how we can achieve. 

 

Regards, 

Nivedita

 

 

1 ACCEPTED SOLUTION

niveditakumari
Mega Sage

Hi All, 

 

We can achieve it by using email address filter. 

1. Create Email Address filter and add that domain name in domains field that you want to allow

and add domain name in exceptions which you don't want to allow. 

2. Create System Address filter and add this Email Address filter in that. 

3. Open POP3 Email Account and add System Address filter in that. 

Please see screenshot to achieve it : 

find_real_file.png 

 

Hope this helps to everyone. 

 

 

Regards, 

Nivedita

 

 

View solution in original post

34 REPLIES 34

I said for first requirement, second is possible and can be achieved.

 

Can you please tell me step by step that how we can achieve second requirement. 

 

Regards, 

Nivedita

 

 

 

You can create a sys_property and there you can store all the domains you would want to receive mail from, and call that property later in your inbound and check for that particular domain in your property and proceed from there.

 

Thank you so much for your reply. 

I have created sys property in instance 

 

 

Please correct me if I'm doing anything wrong. 

How we can call sys property in inbound action. 

 

Regards, 

Nivedita

 

 

yes you are doing right, you can call system property in inbound by using:-

gs.getProperty('allow_domains');