Page 3 of 8
Re: HESK e-mail piping public BETA (test version)
Posted: Tue Nov 23, 2010 7:59 pm
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.
Re: HESK e-mail piping public BETA (test version)
Posted: Tue Nov 23, 2010 11:06 pm
by scudd
Hello, thanks for trying Klemen, I'll get onto my hosts and ask them some more questions.
Re: HESK e-mail piping public BETA (test version)
Posted: Wed Nov 24, 2010 6:44 pm
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. ------
Re: HESK e-mail piping public BETA (test version)
Posted: Wed Nov 24, 2010 7:03 pm
by Klemen
Good news, now try with the beta Hesk piping script if it works for you.
Re: HESK e-mail piping public BETA (test version)
Posted: Thu Nov 25, 2010 12:12 am
by scudd
Hello, thats a result! Its now working!
Many thanks for all your help!
Re: HESK e-mail piping public BETA (test version)
Posted: Fri Dec 03, 2010 1:19 pm
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
Re: HESK e-mail piping public BETA (test version)
Posted: Tue Dec 07, 2010 12:53 pm
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.
Re: HESK e-mail piping public BETA (test version)
Posted: Tue Dec 07, 2010 8:11 pm
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.
Re: HESK e-mail piping public BETA (test version)
Posted: Tue Dec 07, 2010 8:22 pm
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']);
Re: HESK e-mail piping public BETA (test version)
Posted: Sun Dec 12, 2010 6:48 pm
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!
Re: HESK e-mail piping public BETA (test version)
Posted: Mon Dec 13, 2010 11:57 am
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.
Re: HESK e-mail piping public BETA (test version)
Posted: Mon Dec 13, 2010 4:08 pm
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!
Re: HESK e-mail piping public BETA (test version)
Posted: Mon Dec 13, 2010 4:21 pm
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.
Re: HESK e-mail piping public BETA (test version)
Posted: Sun Dec 19, 2010 6:56 am
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
Re: HESK e-mail piping public BETA (test version)
Posted: Tue Dec 21, 2010 5:35 am
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?