How to redirect email to other email address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2019 03:15 AM
I have a requirement,if sender's email contains 'xyz' or 'abc' create a ticket else redirect that email to email@company.com.How to achieve this?i have created inbound email action for 1st part but looking for help for redirection to other email address part.
I am trying to achieve this by creating inbound email action which will trigger an event for email notification.
I have created inbound like:
table= sys_email
condition = email.from.toLowerCase().indexOf("company") == -1
script: gs.eventQueue("email.redirection", current);
email notification: after , insert
when- event is fired
table- sys_email
send to: users
This is not working.Can anybody tell me where i am going wrong?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2019 04:39 AM
Hey there abc12,
I think this between this image and the link below, you'll have your answer. 🙂
I hope this information helps you!
If my reply helps you at all, I'd really appreciate it if you click the Helpful button and if my reply is the answer you were looking for, it would be awesome if you could click both the Helpful and Accepted Solution buttons! 🙂
Thanks and have a great day!
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2019 04:44 AM
Hi Steve,
My requirement is to redirect email which is sent to servicenow instance to other email address which is not servicenow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2019 06:14 AM
I am trying to achieve this by creating inbound email action which will trigger an event for email notification.
I have created inbound like:
table= sys_email
condition = email.from.toLowerCase().indexOf("company") == -1
script: gs.eventQueue("email.redirection", current);
email notification: after , insert
when- event is fired
table- sys_email
send to: users
This is not working.Can anybody tell me where i am going wrong?