Wrong customer name in notification email

Moderator: crythias

Locked
RobinS
Znuny newbie
Posts: 10
Joined: 15 Jan 2016, 04:43
Znuny Version: 5.0.5

Wrong customer name in notification email

Post by RobinS »

Hi all,

If a ticket gets created or a customer answers on a ticket I always get a wrong customer name, it always says "otrs@system.com (my otrs email address) wrote: "

I checked the notification options and it's set <OTRS_CUSTOMER_REALNAME>

Any ideas?

Thanks
OTRS version 5.0.6 , Operating System: Debian GNU/Linux 8 (jessie), database type: MySQL.
jjurkus
Znuny newbie
Posts: 54
Joined: 29 Jan 2016, 15:36
Znuny Version: 6.0.17

Re: Wrong customer name in notification email

Post by jjurkus »

Code: Select all

<OTRS_CUSTOMER_REALNAME>
    To get the realname of the sender (if given). 
Hmm, maybe the realname is not given?
How about using this:
<OTRS_Customer_UserFirstname> <OTRS_Customer_UserLastname>
OTRS 6.0.x on CentOS 7 with a PostgreSQL database.
RobinS
Znuny newbie
Posts: 10
Joined: 15 Jan 2016, 04:43
Znuny Version: 5.0.5

Re: Wrong customer name in notification email

Post by RobinS »

Hi jjurkus,

thanks for your answer. Unfortunately that was not the answer with this parameters the sent email is:

Code: Select all

- - wrote:
So <OTRS_Customer_UserFirstname> <OTRS_Customer_UserLastname> are not given and <OTRS_CUSTOMER_REALNAME> seams to link to the OTRS Sender Name.
Any other ideas?

Edit:
Your idea was actually very good, so I tried <OTRS_CUSTOMER_FROM>, which looks in the email header and replaces it with the customer Email. Great! Thanks so much for your help.
OTRS version 5.0.6 , Operating System: Debian GNU/Linux 8 (jessie), database type: MySQL.
Locked