Script URL: 2.3
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I'm testing the helpdesk and the messages you receive as a client come with the "from" field as follows: Array [noreply_mail]
how I can fix this?
the "from" field in the received message is wrong
Moderator: mkoch227
-
- Posts: 14
- Joined: Mon Feb 27, 2012 11:34 am
Re: the "from" field in the received message is wrong
Have you been modifying the code? It doesn't make much sense because $hesk_settings['noreply_mail'] is a string, not an array.
In admin panel under settings what is your "No reply email:" set to exactly?
In admin panel under settings what is your "No reply email:" set to exactly?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 14
- Joined: Mon Feb 27, 2012 11:34 am
Re: the "from" field in the received message is wrong
hi, thank you for you reply,
what I try to do was put in front of the email the name of my site, within the "file email_functions.inc.php", in line 55.
example change:
$headers = "From: $hesk_settings [noreply_mail] \ n";
to
$headers = "From: elartedeganar $hesk_settings [noreply_mail] \ n"
but did not work and put everything as it was.
my no-reply email on admins settings are ayuda@elartedeganar.com
what I try to do was put in front of the email the name of my site, within the "file email_functions.inc.php", in line 55.
example change:
$headers = "From: $hesk_settings [noreply_mail] \ n";
to
$headers = "From: elartedeganar $hesk_settings [noreply_mail] \ n"
but did not work and put everything as it was.
my no-reply email on admins settings are ayuda@elartedeganar.com
Re: the "from" field in the received message is wrong
You have an empty space between $hesk_settings and [noreply_mail]
Remove that space and it should work fine.
P.s.: in your case headers can be set to
Just make sure you backup files before editing and if something then doesn't work upload original files again.
Remove that space and it should work fine.
P.s.: in your case headers can be set to
Code: Select all
$headers = "From: elartedeganar <$hesk_settings[noreply_mail]>\n";
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 14
- Joined: Mon Feb 27, 2012 11:34 am
Re: the "from" field in the received message is wrong
Klemen very good help, I had not seen that space.
I'm very grateful.
When the next version of this included the "email fetch function" I am sure i will buy the version.
once again ... thanks
I'm very grateful.
When the next version of this included the "email fetch function" I am sure i will buy the version.
once again ... thanks