/build/static/layout/Breadcrumb_cap_w.png

Remove email address from CC list if detected

Recently one of our tickets was stuck in a comment loop since the customer added a specific email address to the CC list.  Does anyone know of a way to set up a rule to:

  1. find if CC list contains x@y.com
  2. remove ONLY x@y.com from the CC list

Thanks!



0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: Channeler 5 years ago
Red Belt
3

Top Answer

To prevent loops from happening, you could head over to Service Desk › Configuration › Service Desk Email Preferences.

And add this email to the exclusions list, you can even block every email with the word "AutoReply" in the subject or something like that.
wMS5sPYJI38PgAAAABJRU5ErkJggg==


Source: KACE SMA 10.0.290 Admin Guide.

Posted by: chucksteel 5 years ago
Red Belt
2

In addition to the method Channeler gave, you can address this with a CTR. Here are some "back of the envelope" queries that should work.

To match tickets with the email address in the CC_LIST:

SELECT ID FROM HD_TICKET WHERE CC_LIST like '%x@y.com%'

To update:

UPDATE HD_TICKET set CC_LIST = replace(CC_LIST, '%x@y.com%', '') where ID = <TICKET_IDS>

Set the rule to run on ticket save.

Note, I didn't test either of these but I'm reasonably confident they will work.


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ