HESK e-mail piping public BETA (test version)

Helpdesk for my helpdesk software

Moderator: mkoch227

Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

For a reason I don't know your PHP isn't properly processing piped data. I really don't know what the reason is, if I get any ideas I will post back. But until not even a simple test script is run with your piping setup, there is no point of testing Hesk piping script.
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
scudd
Posts: 10
Joined: Tue Nov 16, 2010 1:01 am

Re: HESK e-mail piping public BETA (test version)

Post by scudd »

Hello, thanks for trying Klemen, I'll get onto my hosts and ask them some more questions.
scudd
Posts: 10
Joined: Tue Nov 16, 2010 1:01 am

Re: HESK e-mail piping public BETA (test version)

Post by scudd »

I have been looking at this again today and have managed to get the script to reply using the following forward in cpanel
/../../../usr/bin/php -q /home/xxxxxxxx/public_html/support/inc/mail/test_pipe.php
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

pipe to |/../../../usr/bin/php -q /home/xxxxxxxx/public_html/support/inc/mail/test_pipe.php
generated by pipe@xxxxxxxx.info

The following text was generated during the delivery attempt:

------ pipe to |/../../../usr/bin/php -q /home/xxxxxxxx/public_html/support/inc/mail/test_pipe.php
generated by pipe@xxxxxxxxx.info ------

PIPING TEST - SCRIPT IS EXECUTING
------ This is a copy of the message, including all the headers. ------

Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

Good news, now try with the beta Hesk piping script if it works for you.
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
scudd
Posts: 10
Joined: Tue Nov 16, 2010 1:01 am

Re: HESK e-mail piping public BETA (test version)

Post by scudd »

Hello, thats a result! Its now working!

Many thanks for all your help!
mdiehl
Posts: 17
Joined: Sun Nov 14, 2010 6:22 pm

Re: HESK e-mail piping public BETA (test version)

Post by mdiehl »

Hi Klemen,
sorry for not answering. I am in Turkey at the moment and will be back in germany next week. When creating a ticket with attachment I can download the attachment, so everything is working.
Only if I use the mail piping script, the attachments are not working.

Best regards
Matthias
ugogo.info
Posts: 26
Joined: Sat Oct 31, 2009 2:14 pm

Re: HESK e-mail piping public BETA (test version)

Post by ugogo.info »

Thats good news - so basically if the attachments work, we have a full scale email piping feature, which is simply great! 90% f our clients email us with attachments due to the nature of our business. II can't wait for our business to close this year to test it out.
Caz Livingstone
General Manager
http://www.ugogo.info
Free Classified Ad Site
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

Could anyone confirm attachments not working? Because they work fine on my test setup.

@ugogo.info - feel free to test the piping in your live help desk as it won't interfere with normal help desk operation.
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
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

Matthias, could you try changing this code in your inc/mail/hesk_pipe.php file

Code: Select all

rename($v['stored_name'],HESK_PATH.'attachments/'.$myatt['saved_name']);
Change the HESK_PATH.'attachments/' part to the full path of your attachments folder (even if you set the HESK_PATH to full pathbefore), for example:

Code: Select all

rename($v['stored_name'],'/home/username/public_html/hesk/attachments/'.$myatt['saved_name']);
If that doesn't help you can try deleting that code and see if this one works instead:

Code: Select all

copy($v['stored_name'],HESK_PATH.'attachments/'.$myatt['saved_name']);
unlink($v['stored_name']);
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
theobill
Posts: 4
Joined: Sun Dec 12, 2010 6:44 pm

Re: HESK e-mail piping public BETA (test version)

Post by theobill »

I have tried to install the piping and seem to have bypassed all the file-location errors, but I just got an error I don't know anything about.

PHP Fatal error: Call to undefined function mb_convert_encoding() in /support/inc/mail/hesk_pipe.php on line 77

Is this a function I need to have my system admins turn on?

Thanks!
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

That function is included since PHP version 4.0.6 so you either have a reaaaaaaaly old and insecure PHP version (from before 2001!) or your host disabled the function.
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
mvraven
Posts: 32
Joined: Mon Nov 30, 2009 3:34 pm

Re: HESK e-mail piping public BETA (test version)

Post by mvraven »

Klemen,

The email piping is a solution what i can use very well. But do you also have a solution for people that don't have a CPanel so thay can forward the email to a program?

That is what i have and i also asked it with the people of my registar but thay say it is for me not possible to make a emailadress that will be forwarded to a program.

So do you also make something in this version for this problem?

I hope so very much.....

Thnx for now!

Grtz!
Klemen
Site Admin
Posts: 10136
Joined: Fri Feb 11, 2005 4:04 pm

Re: HESK e-mail piping public BETA (test version)

Post by Klemen »

E-mail piping can be setup on most servers - the example is Cpanel becuse I use that on my server. For any other server/control panel you will need to consult your host.

It is possible, but if they say it's not it is because their either don't allow it or don't know how to set it up.
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
Jayc
Posts: 1
Joined: Sun Dec 19, 2010 6:51 am

Re: HESK e-mail piping public BETA (test version)

Post by Jayc »

For the info of the developers - I setup the beta on a new install on Hostgator and the tickets were not being created and neither was the sender receiving any messages of underliverability.

So after reading the messages in this forum I found a suggestion to remove the -q from the first line in the hesk_pipe.php file - this I did.
Then the tickets started working.
So thank you for supporting us.
Regards
Jayc
theobill
Posts: 4
Joined: Sun Dec 12, 2010 6:44 pm

Re: HESK e-mail piping public BETA (test version)

Post by theobill »

HI Klemen - I seem to be getting emails successfully sent TO the email pipe, but no emails seem to be getting sent back to the users - either submitted with the email pipe or without.
Any thoughts what might be causing this?
Locked