- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2015 02:25 PM
Hi folks,
Anyone has an idea on writing action script to restrict non existing user emails sending out from ServiceNow? I previously raised an article Prevent ServiceNow sends emails to non-existence email users One way is to set up action script (Navigate to System Mailboxes > Administration > Filters) (see a response below)
Use email filters to restrict non existing user emails through writing action script in this
- Navigate to System Mailboxes > Administration > Filters.
- Click New.
- Complete the fields (see the table).
- Right-click in the header bar and select Save from the context menu.
- The Filter Actions related list appears.
- Click New in the related list.
- Select how the system should react when the conditions of this filter evaluate to true.
however in Fuji there seems no such Filters, and I wonder it has changed to somewhere.
Any input would be appreciated.
Regards,
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2015 06:50 PM
There is a plugin named Email Filters. You have to activate that first, then follow the instructions you provided.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2015 01:49 PM
Non-existence users may mean
- User's email address contains NOADDRESS
- User's email address contains DUPLICATE
- User's email address is considered as invalid to outgoing SMTP Server, which is not covered in the filter conditions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2015 01:56 PM
Email Filters is for inbound emails, not outbound. As for your problems, if user doesn't have email, nothing should be triggering. If users emails are duplicate, ldap or admin problem. There are several ways to deal with those. Email invalid - that's a little hard to catch.