pipe pop3 mail

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
depperdc
Posts: 7
Joined: Wed Oct 29, 2014 4:51 pm

pipe pop3 mail

Post by depperdc »

Script URL:
Version of script:
Hosting company: HESK version: 2.5.3
URL of phpinfo.php: 5.3.3 (MySQLi)
MySQL version: 5.1.73
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
Hello,
becomes us that about 0-5 mails per day is not processed using pop3 pipe function. These mails remains in folders HESK \ Attachments \
Each unprocessed mail has own folder.
Please help us with the removal of this problem, when the email is not processed. We would like to always process all emails.
thank you
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: pipe pop3 mail

Post by Klemen »

If emails remain in attachments folder there is probably a connection error between HESK and your POP3 server (perhaps a timeout, too long script execution time, ...)?

If you turn Debug mode to ON in HESK settings and manually open the hesk_pop3.php file in your browser, what kind of 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
depperdc
Posts: 7
Joined: Wed Oct 29, 2014 4:51 pm

Re: pipe pop3 mail

Post by depperdc »

Hello,
I think I wrote it wrong. Not processed about 2 emails after several hundred processed. I think these are the emails that have attachments, but not the body of email, mail body is empty.

example file is available: http://ulozto.cz/xDyZ9mxY/example-zip

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

Re: pipe pop3 mail

Post by Klemen »

This is by design, HESK requires email message or it ignores the email.

To remove this limit, open inc/pipe_functions.inc.php and change

Code: Select all

strlen($tmpvar['message']) == 0
to

Code: Select all

1 == 2
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
depperdc
Posts: 7
Joined: Wed Oct 29, 2014 4:51 pm

Re: pipe pop3 mail

Post by depperdc »

I sorry, but unfortunately I have not found what you write here. I attach a file inc
Here: http://ulozto.cz/x7mkToKp/inc-zip
Thank you
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: pipe pop3 mail

Post by Klemen »

Your inc file is from version 2.4.x not 2.5.x, you should double-check what version you have installed and make sure all the proper files are uploaded.

That said, try deleting

Code: Select all

	// Message missing? We require it!
	if ( ! $tmpvar['message'])
	{
		return NULL;
	}
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