New duplicate submit_ticket.php

Everything related to Hesk - helpdesk software

Moderator: mkoch227

Post Reply
bexter
Posts: 16
Joined: Wed Jun 16, 2010 9:05 pm

New duplicate submit_ticket.php

Post 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
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: New duplicate submit_ticket.php

Post by Klemen »

Try adding 'new_ticket_staff2' to $valid_emails array in file "inc/email_functions.inc.php".
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
bexter
Posts: 16
Joined: Wed Jun 16, 2010 9:05 pm

Re: New duplicate submit_ticket.php

Post by bexter »

thanks!!!
Post Reply