E-mail with no content

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
paul.mercea
Posts: 6
Joined: Mon Nov 09, 2009 3:13 pm

E-mail with no content

Post 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?
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
paul.mercea
Posts: 6
Joined: Mon Nov 09, 2009 3:13 pm

Post 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 ?
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
paul.mercea
Posts: 6
Joined: Mon Nov 09, 2009 3:13 pm

Post by paul.mercea »

I have solved by copying files with root.
As it seems was a problem about rights on that files.
Post Reply