/build/static/layout/Breadcrumb_cap_w.png

Ticket Rule - Can I send to an email address not returned by the query

Working on a ticket rule that sends an email to a specific person. When selecting 'Send an email for each result row' can I just put the email address in the 'Email Column:' field?

If not, how do I incorporate the email address I wish to send to into the query when it doesn't belong to one of the usual participants (owner, submitter, approver, updater so on)?

 

Thanks


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: chucksteel 10 years ago
Red Belt
1

You need to modify the SQL select statement to have it return the email address. This KB article outlines the procedures:

http://www.kace.com/support/resources/kb/article/How-To-Notify-Any-User-or-Group-by-Email-When-a-New-Help-Desk 

Basically you need to add a line like this to the select statement:

'helpdesk@mycompany.com' AS NEWTICKETEMAIL -- $newticketemail

You then use NEWTICKETEMAIL as the email column.


Comments:
  • Thank you Sir. I knew I had come across that line before but couldn't remember it for the life of me.

    Thanks again
    John - jmarotto 10 years ago

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