Okay i found the reason why thats is happening.
For Example in the MailFetcher.php (the library one), wich contents the functions needed to create new tickets from mails. There is only the Staffnotification in the end:
Well, i never thought it would be that simple. I love the source of HelpdeskZ and the more i work with it, i also learn how to get things done very easy compared to my complicated working dumb brain xD..
Simply change the code above to the following and you will get also client emails sent when fetching an email ticket (code found in hdz/app/Libraries/MailFetcher.php on line 175):
For Example in the MailFetcher.php (the library one), wich contents the functions needed to create new tickets from mails. There is only the Staffnotification in the end:
Code:
}else{
$ticket_id = $ticket->id;
$message_id = $tickets->addMessage($ticket_id, $body, 0, false);
$tickets->updateTicketReply($ticket_id, $ticket->status);
}
$tickets->staffNotification($ticket);
return [$ticket_id,$message_id];
}
Well, i never thought it would be that simple. I love the source of HelpdeskZ and the more i work with it, i also learn how to get things done very easy compared to my complicated working dumb brain xD..
Simply change the code above to the following and you will get also client emails sent when fetching an email ticket (code found in hdz/app/Libraries/MailFetcher.php on line 175):
Code:
}else{
$ticket_id = $ticket->id;
$message_id = $tickets->addMessage($ticket_id, $body, 0, false);
$tickets->updateTicketReply($ticket_id, $ticket->status);
}
$tickets->newTicketNotification($ticket);
$tickets->staffNotification($ticket);
return [$ticket_id,$message_id];
}