Page 1 of 1

Field "Name" has a static name [Customer]

Posted: Tue Oct 26, 2021 10:05 pm
by peters
Script URL:
Version of script: 3.2.4
Hosting company: self hosted
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Attached screenshot https://easyupload.io/c6jqfa
Write your message below:

I just installed the latest version of Hesk and the field "Name" does not show a real sender's name when an email piping used.
The field has a static name "[Customer]" for all tickets. I have attached a screenshot as a file.
Is it possible to see a sender's name from an email instead of "[Customer]"?
Thanks .

Re: Filed "Name" has a static name [Customer]

Posted: Wed Oct 27, 2021 2:56 pm
by Klemen
Hesk will try to get the name from the "Reply-To:" (primary) or "From:" (secondary) header, then convert to UTF-8; If unable, it will be set to "[Customer]".

My guess is your "Reply-To" headers contain email only, no name?

If you want to ignore reply to and just look in the From header, replace all instances of

Code: Select all

$results['reply-to']
with

Code: Select all

$results['from']
in /inc/pipe_functions.inc.php file. Use a powerful editor such as Notepad++ to edit the file.

Re: Field "Name" has a static name [Customer]

Posted: Wed Oct 27, 2021 4:41 pm
by peters
All Reply-To headers emails i tested with had the assigned name.
I modified the /inc/pipe_functions.inc.php file as you suggested and it worked! Now i am able to see the Names.
Thanks.