Hi Guys,
Is their away to add a carbon copy permanent email address to all emails that get sent as our management team would like to a to have a copy of all messages sent from the helpdesk system when a job is submitted, support person replied to the email and when it was resolved.
Currently if a person submits a helpdesk request it goes to an email address all techs have access to, but management want to cc a different mailbox for their records as well as keeping an eye on things.
Matthew
Adding a Carbon Copy Email to tickets
Moderator: mkoch227
Re: Adding a Carbon Copy Email to tickets
The easiest way would be to modify find all occurrences of in file inc/email_fucntions.inc.php then:
1. If the line that starts with hesk_mail( replace with
2. ignore the line that starts with the word function
This should add management@domain.com to the list of recipients, but it will be in "To:" ranter than "Cc:". To add them to "Cc:" it would require more modifications/hacks so it is out of the scope of my support.
Code: Select all
hesk_mail(
1. If the line that starts with hesk_mail( replace
Code: Select all
, $subject
Code: Select all
. ',management@domain.com', $subject
This should add management@domain.com to the list of recipients, but it will be in "To:" ranter than "Cc:". To add them to "Cc:" it would require more modifications/hacks so it is out of the scope of my support.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Adding a Carbon Copy Email to tickets
Hi Klemen,
Before I upload this modified file into my hesk install can you please take a quick look and make sure I have put the new code correctly into the places its needed.
Matthew
(REMOVED)
Before I upload this modified file into my hesk install can you please take a quick look and make sure I have put the new code correctly into the places its needed.
Matthew
(REMOVED)
Re: Adding a Carbon Copy Email to tickets
You need to be careful when making changes to the code and follow instructions precisely:
1. there should be no comma before
Lines 65 you have:
It should be:
Same for line 107
2. second instruction said to ignore the line that starts with the word "function", so no modifications to line 250
Try again and make sure you have a backup of the old file before testing.
1. there should be no comma before
Code: Select all
. ',management@domain.com'
Code: Select all
$ticket['email'],. ',management@domain.com'
Code: Select all
$ticket['email']. ',management@domain.com'
2. second instruction said to ignore the line that starts with the word "function", so no modifications to line 250
Try again and make sure you have a backup of the old file before testing.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools