Page 1 of 1

E-mail with no content

Posted: Fri Dec 11, 2009 7:11 am
by paul.mercea
Script URL:
Version of script:2.1
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 have made a modification in change_status.php to send a e-mail to user about new status.
I have changed hesk_getEmailMessage function , adding the name of new file ('change_status') ... but, I get the e-mail with no content.Looks like is not reading the file.

Any hints?

Posted: Sat Dec 12, 2009 12:49 pm
by Klemen
In common.inc.php file line 93 there is a list of valid e-mail files, you will need to add your own file to the list for it to work. HESK will only allow reading files listed there for security reasons.

Posted: Sat Dec 12, 2009 8:36 pm
by paul.mercea
Hi Klemen

You miss what I was write:
"I have changed hesk_getEmailMessage function , adding the name of new file ('change_status')" - this in common.inc.php. Without this i get error "Invalid e-mail file".
I get the e-mail, but i don't get the file content in e-mail.I don't understand why. If I use "new_ticket","category_moved"
or "new_reply_by_staff" i have content. The new e-mail file i have made by copying from "category_moved".

Any ideeas ?

Posted: Sun Dec 13, 2009 9:59 am
by Klemen
Sorry, I read your post too fast.

Try turnign Debug mode to ON in settings and see if you get any error messages when moving the ticket.

Can you tell me the URL of your Hesk?

Posted: Mon Jan 04, 2010 9:24 am
by paul.mercea
I have solved by copying files with root.
As it seems was a problem about rights on that files.