Changing salutation when using agent standard response

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

Christian Junk wrote:
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
Hi! I answered the question myself ;) I'm sorry but I overlooked this line: $From = $Self->{CustomerUserObject}->CustomerName(UserLogin
=> $Ticket{CustomerUserID});
Regards Christian
participants (1)
-
Christian Junk