Liberum Help Desk
The free, open source solution for the web-based help desk.

Email IT Manager when any call is closed?

rated by 0 users
Answered (Verified) This post has 1 verified answer | 11 Replies | 5 Followers

Top 25 Contributor
6 Posts
rhatch posted on 04-29-2009 2:57 AM

Hi,

I was wondering how difficult it would be to modify the code within the helpdesk to allow me (IT Manager) to be copied in on every closed problem notification email.

So as well as the user that owns the problem receiving an email containing the solution, I would like a copy as well, just so I am kept in the loop.

Also how easy would it be at the same time to disable the (don't send email to user) checkbox, or if it could be overridden so that I still receive the closed email notification even thought the rep has opted not to send it to the user.

Hope this makes sense and someone can help!

Thanks for a great Helpdesk!

Richard

 

Answered (Verified) Verified Answer

Top 10 Contributor
27 Posts

The quick and easy way is to edit  rep/details.asp

 

find

    If status = Cfg(cnnDB, "CloseStatus") Then
      If Not (Request.Form("noemail")="on") Then
      ' Send mail to the user'
        Call eMessage(cnnDB, "userclose", id, uemail)
      End If
    Else

Rplace with the following

    If status = Cfg(cnnDB, "CloseStatus") Then

Call eMessage(cnnDB, "userclose", id, "YOUREMAILl@.com")
      If Not (Request.Form("noemail")="on") Then
      ' Send mail to the user'
        Call eMessage(cnnDB, "userclose", id, uemail)
      End If
    Else

All Replies

Top 10 Contributor
27 Posts

The quick and easy way is to edit  rep/details.asp

 

find

    If status = Cfg(cnnDB, "CloseStatus") Then
      If Not (Request.Form("noemail")="on") Then
      ' Send mail to the user'
        Call eMessage(cnnDB, "userclose", id, uemail)
      End If
    Else

Rplace with the following

    If status = Cfg(cnnDB, "CloseStatus") Then

Call eMessage(cnnDB, "userclose", id, "YOUREMAILl@.com")
      If Not (Request.Form("noemail")="on") Then
      ' Send mail to the user'
        Call eMessage(cnnDB, "userclose", id, uemail)
      End If
    Else

Top 25 Contributor
6 Posts

This works fine.

I now get a copy of the closed problem email as well as the person that logged the problem!!!

Great!!

Thanks Rob!!!

Top 10 Contributor
13 Posts

Hi Rob the system works fine but how can i know which technician closed the report? Exist any way to insert that?

Thanks!

Top 10 Contributor
27 Posts
rid The support rep's username.
rfname The support rep's full name.

You will need to change the emessage for closed tickets.

goto the admin menu and click on Configure E-mail Messages

Chose User - Close

Click on Edit

Add the following

Closed by : [rfname]

Top 10 Contributor
13 Posts

Hi Rob I understand the edit part but what is:

rid The support rep's username.
rfname The support rep's full name.
rid The support rep's username
rid The support rep's username.
rfname The support rep's full name.
rid The support rep's username.
rfname The support rep's full name.
rid The support rep's username.
rfname The support rep's full name.
rid The support rep's username.
rfname The support rep's full name.
rid The support rep's username.
rfname The support rep's full name.
rid The support rep's username.
rfname The support rep's full name
rid The support rep's username.
rfname The support rep's full name.
rid The support rep's username.
rfname The support rep's full name.
rid and rfname

How can i do that or create that?

Thanks!

Im nor a Database expert....

Top 10 Contributor
27 Posts

Ignore that, I  just hit CTRL+V too many times...

There are different variables you can add to each email message

Full list in the file

 /admin/cfgemail_help.asp

 

Top 50 Contributor
4 Posts

Hi

We've managed to get this working but are now looking at whether it is possible to have two email addresses copied in. We have tried adding the second email address by using a semicolon to separate them but this does not work.

Is what we want possible?

Thanks, Jo

Top 10 Contributor
27 Posts

Try adding another call to emessage.......

    If status = Cfg(cnnDB, "CloseStatus") Then

Call eMessage(cnnDB, "userclose", id, "YOUREMAILl@.com")

Call eMessage(cnnDB, "userclose", id, "YOUREMAILl@.com")
      If Not (Request.Form("noemail")="on") Then
      ' Send mail to the user'
        Call eMessage(cnnDB, "userclose", id, uemail)
      End If
    Else

Top 50 Contributor
4 Posts

Thanks Rob, it did exactly what I wanted it to!

Jo

Top 75 Contributor
3 Posts

I am trying to get this tow work but it's not.  do i have to reload anything?  i am putting in the email address of the it central email in the YOUREMAILI@.COM but i am not getting an email in that box when a ticket is closed.  Any help you can provide would be appreciated. 

 

 

Top 75 Contributor
3 Posts

it's working. Thank you for a great product.

Page 1 of 1 (12 items) | RSS
Copyright © Doug Luxem 2000-2010
Powered by Community Server (Non-Commercial Edition), by Telligent Systems