Page 1 of 1

New duplicate submit_ticket.php

Posted: Tue Feb 21, 2012 3:32 pm
by bexter
hi klemen,

i duplicate other submit ticket form, submit_ticket2.php.
and also all others related file like admin_submit_ticket.php to admin_submit_ticket2.php.

submit_ticket.php=for hardware
submit_ticket2.php=for software

success to do this but the problem is when sending notification email to staff after submit ticket.

i create second mail template 'new_ticket_staff2' and change here in admin_submit_ticket2.php

$msg = hesk_getEmailMessage('new_ticket_staff2',$ticket,1);

its give me email error. or please you give me just an idea where to fix this?? pls klemen help me

Re: New duplicate submit_ticket.php

Posted: Tue Feb 21, 2012 3:40 pm
by Klemen
Try adding 'new_ticket_staff2' to $valid_emails array in file "inc/email_functions.inc.php".

Re: New duplicate submit_ticket.php

Posted: Tue Feb 21, 2012 5:14 pm
by bexter
thanks!!!