Hello All,
This is my first post and I just wanted to share what I got. I hope I am not violating anything. Our company started using ticking system and OST became our choice. We needed some features such as allowing mismatched email when responding to ticket and stuff. One of the features we really needed was when responding ticket, we like to send email to third parties not just owner of the ticket. I looked around the forum and found http://www.sudobash.net/osticket-send-reply-to-alternateadditional-email-addresses(http://www.sudobash.net/osticket-send-reply-to-alternateadditional-email-addresses) . So based on that idea, I changed a few codes to work in version 1.7 , So below is the explanation of how I did . Again, for those of you dont want to read all those, the files are attached, make sure you backup your files first.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Scope: adding TO and CC in staff response , so it gives us flexibility to send email to third parties, not just only to ticket owner.
Modification:
We have to have editable input for email address in ticket-view.inc.php , so we can enter the email. Then we have to check whether “email reply” check boxes are ticked in ticket.php. then if checkboxes are ticked. We take the email addresses in postReply function in class.ticket.php and pass it to modified fwsSend function in class.email.php , then class.mailer.php.
Files being modified:
/include/staff/ticket-view.php
/scp/ticket.php
/include/class.ticket.php
/include/class.email.php
/include/class.mailer.php
[mod_ccto.tar.zip](https://forum.osticket.com/assets/files/migrated/4/e950edd8e4b3b572da7c8340d71351f.zip)