Hi!
When answering a ticket with a standard response from the agent
interface a standard mail is created. In AgentCompose.pm the salutation
of this mail is created and is substituted with
$From. $From looks like "salutation firstname lastname" but I can't find
the place where $From is composed.
# --
# prepare salutation
# --
$Data{Salutation} = $QueueObject->GetSalutation();
# prepare customer realname
if ($Data{Salutation} =~ //) {
# get realname
my $From = '';
if ($Ticket{CustomerUserID}) {
$From = $Self->{CustomerUserObject}->CustomerName(UserLogin
=> $Ticket{CustomerUserID});
}
if (!$From) {
$From = $Data{OrigFrom} || '';
$From =~ s/<.*>|\(.*\)|\"|;|,//g;
$From =~ s/( $)|( $)//g;
}
$Data{Salutation} =~ s//$From/g;
}
Hope you can help me again!
Regards
Christian