Code: Select all
# return subject for new tickets
if ( $Param{Type} && $Param{Type} eq 'New' ) {
return $Subject . " [$TicketHook$TicketHookDivider$Param{TicketNumber}]";
}
# return subject for existing tickets
if ($TicketSubjectRe) {
$TicketSubjectRe .= ': ';
}
return $TicketSubjectRe . $Subject . " [$TicketHook$TicketHookDivider$Param{TicketNumber}] ";
but when the email arrives at the destination email account, the subject line reads:Re: First test ticket (Demo System no. 2) [EP: 100001]
Can anyone explain why this is (aside from the fact that I'm monkeying around with the OTRS code!)?Re: First test ticket (Demo System no. 2) [EP: 100001] [EP: 100001]
EDIT: I'm guessing that somewhere else, there's some routine to add the ticket number if it's not already present at the beginning of the subject line, but I can't find it.