Cutting off piped emails

Helpdesk for my helpdesk software

Moderator: mkoch227

TimPSNC
Posts: 41
Joined: Tue Jan 08, 2013 12:33 pm

Cutting off piped emails

Post by TimPSNC »

Script URL:
Version of script: 2.5.0
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:
Ever since upgrading to 2.5 Hesk randomly cuts of occasional tickets- its happened about four times so far (out of about 35 emails). A couple have cut out after a sentence but a few after a couple of paragraphs. I think they are just doing it on POP3 emails, rather than the form.

Has anyone else experienced this or know how to fix it?

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

Re: Cutting off piped emails

Post by Klemen »

This could be due to wrong encoding in emails (encoding not matching what the emails headers say).

If you have any sample emails that get truncated could you forward them to pop3test AT hesk DOT com?
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
TimPSNC
Posts: 41
Joined: Tue Jan 08, 2013 12:33 pm

Re: Cutting off piped emails

Post by TimPSNC »

Hi Klemen

I sent the email onto you- have you had a chance to look at it? I think emails being sent out are also being truncated

Thanks for your help

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

Re: Cutting off piped emails

Post by Klemen »

Hi Tim,

Sorry, didn't know you sent it - I don't check that mail unless somebody tells me they have sent something :wink:

Anyway, it is an encoding related problem.

Try uploading this modified email_parser.php file to your "inc/mail" folder and let me know if that helps with the issue:
http://www.hesk.com/extras/hesk250_email_parser.zip
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
TimPSNC
Posts: 41
Joined: Tue Jan 08, 2013 12:33 pm

Re: Cutting off piped emails

Post by TimPSNC »

Thanks Klemen, though I'm getting a 404 when I download
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Cutting off piped emails

Post by Klemen »

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
TimPSNC
Posts: 41
Joined: Tue Jan 08, 2013 12:33 pm

Re: Cutting off piped emails

Post by TimPSNC »

I downloaded it but can't unzip it- it comes up with an error and the php file is empty. Is this me or has it become corrupted?

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

Re: Cutting off piped emails

Post by Klemen »

Hmm, perhaps I uploaded it in ASCII :oops: :lol:

Try again please.
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
TimPSNC
Posts: 41
Joined: Tue Jan 08, 2013 12:33 pm

Re: Cutting off piped emails

Post by TimPSNC »

Thanks, I've uploaded it and will let you know if it works!

Thanks for your help

Tim
tvoge
Posts: 1
Joined: Tue Jul 16, 2013 9:27 pm

Re: Cutting off piped emails

Post by tvoge »

Had this same issue on a new install of 2.5. I've put the new parser in place and will let you know if problem continues. Just saw the problem for the first time today.

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

Re: Cutting off piped emails

Post by Klemen »

Did any of you have these problems with tickets submitted through the online form? Or was it just the email ones?
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
TimPSNC
Posts: 41
Joined: Tue Jan 08, 2013 12:33 pm

Re: Cutting off piped emails

Post by TimPSNC »

Just emailed ones for me, I think
ascott
Posts: 9
Joined: Fri Aug 17, 2012 4:25 pm

Re: Cutting off piped emails

Post by ascott »

I'm having the same problem with POP3 Fetching. I tried the new email_parser.php, but that stopped the fetching from working at all (received emails at the POP server were not fetched). The emails were retrieved when I went back to the original 2.5 file.
TimPSNC
Posts: 41
Joined: Tue Jan 08, 2013 12:33 pm

Re: Cutting off piped emails

Post by TimPSNC »

I'm having the same problem- when I tested it emails were being fetched as normal, however I've just checked and no tickets have been imported- all are waiting in the inbox.

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

Re: Cutting off piped emails

Post by Klemen »

That's strange, I just tested the file and works fine here?

If you enable debug mode (settings > help desk > features > debug mode: ON) and open hesk_pop3.php in the browser, what message do you get?
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
Post Reply