Hesk 2.4 - Pop3 Fetching
Moderator: mkoch227
Hesk 2.4 - Pop3 Fetching
Just updated to Hesk 2.4. It looks great! I am excited about the new features like merge tickets and Pop3 fetching.
I switched from Email piping to Pop3 Fetching and I am having an issue. I can send an email to the support email address. The email shows up in the support webmail account. When I open the hesk_pop3.php file in a web browser, the email is then removed from the webmail account but it never shows up in Hesk or anywhere.
Please advise. It appears to be close to working, but something isn't quite right.
Thanks in advance!
I switched from Email piping to Pop3 Fetching and I am having an issue. I can send an email to the support email address. The email shows up in the support webmail account. When I open the hesk_pop3.php file in a web browser, the email is then removed from the webmail account but it never shows up in Hesk or anywhere.
Please advise. It appears to be close to working, but something isn't quite right.
Thanks in advance!
Re: Hesk 2.4 - Pop3 Fetching
Turn Debug mode to ON in HESK settings then run the test again - what does it say?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Hesk 2.4 - Pop3 Fetching
Klemen PM'd me this fix for future reference... IT WORKS!!!! Thanks Klemen.
Hi,
Try this:
1. Open the hesk_pop3.php file in an editor
2. find-
stream_wrapper_register('pop3', 'pop3_stream');
3. just ABOVE that code add-
stream_wrapper_unregister('pop3');
4. save, upload and test.
Hi,
Try this:
1. Open the hesk_pop3.php file in an editor
2. find-
stream_wrapper_register('pop3', 'pop3_stream');
3. just ABOVE that code add-
stream_wrapper_unregister('pop3');
4. save, upload and test.
Re: Hesk 2.4 - Pop3 Fetching
Glad to hear it worked.
The problem was you already had a pop3 stream wrapper registered. The official solution will read like this (to not show warnings on sites that don't have a wrapper registered):
The problem was you already had a pop3 stream wrapper registered. The official solution will read like this (to not show warnings on sites that don't have a wrapper registered):
Code: Select all
if ( in_array('pop3', stream_get_wrappers() ) )
{
stream_wrapper_unregister('pop3');
}
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Hesk 2.4 - Pop3 Fetching
Hi all, I try with this modify:
but my http://www.xxx.xx//inc/mail/hesk_pop3.php dont show any error
Any suggest ?
Thx
in panel the connetcion is ok
also, the mail are still on mail server. So I dont know, maybe connection is ok, but doest reach the server by php script
Code: Select all
// Register the pop3 stream handler class
stream_wrapper_unregister('pop3');
stream_wrapper_register('pop3', 'pop3_stream');
Any suggest ?
Thx
in panel the connetcion is ok
also, the mail are still on mail server. So I dont know, maybe connection is ok, but doest reach the server by php script
Re: Hesk 2.4 - Pop3 Fetching
Did you turn debug mode ON?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Hesk 2.4 - Pop3 Fetching
try in help section, but didnt find howKlemen wrote:Did you turn debug mode ON?
...can u give me how
Re: Hesk 2.4 - Pop3 Fetching
1. Login to admin panel
2. Go to "Settings"
3. On "Help Desk" tab under "Features" set "Debug mode" to ON
4. Save changes
Then open the hesk_pop3.php file again in the browser and let me know what it says.
2. Go to "Settings"
3. On "Help Desk" tab under "Features" set "Debug mode" to ON
4. Save changes
Then open the hesk_pop3.php file again in the browser and let me know what it says.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Hesk 2.4 - Pop3 Fetching
Klemen wrote:1. Login to admin panel
2. Go to "Settings"
3. On "Help Desk" tab under "Features" set "Debug mode" to ON
4. Save changes
Then open the hesk_pop3.php file again in the browser and let me know what it says.
Code: Select all
Warning: stream_wrapper_register() [function.stream-wrapper-register]: Protocol pop3:// is already defined. in /home/xxx/public_html/web/yyy/inc/mail/hesk_pop3.php on line 59
Connected to the POP3 server "mail.yyy.it".
User "hd@xxx.it" logged in.
There are 3 messages in the mail box with a total of 4262 bytes.
Parsing message 1 of 3.
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/xxx/public_html/web/yyy/inc/mail/email_parser.php on line 335
Warning: fopen(pop3://0/1) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/xxx/public_html/web/yyy/inc/mail/email_parser.php on line 335
Warning: feof(): supplied argument is not a valid stream resource in /home/xxx/public_html/web/yyy/inc/mail/email_parser.php on line 336
Warning: fgets(): supplied argument is not a valid stream resource in /home/xxx/public_html/web/yyy/inc/mail/email_parser.php on line 338
if u need full name I will pm u them
Re: Hesk 2.4 - Pop3 Fetching
The above posted solution should fix this issue:
1. Open the hesk_pop3.php file in an editor
2. find-
stream_wrapper_register('pop3', 'pop3_stream');
3. just ABOVE that code add-
stream_wrapper_unregister('pop3');
4. save, upload and test.
1. Open the hesk_pop3.php file in an editor
2. find-
stream_wrapper_register('pop3', 'pop3_stream');
3. just ABOVE that code add-
stream_wrapper_unregister('pop3');
4. save, upload and test.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Hesk 2.4 - Pop3 Fetching
I did it before post here. line 114-118Klemen wrote:The above posted solution should fix this issue:
1. Open the hesk_pop3.php file in an editor
2. find-
stream_wrapper_register('pop3', 'pop3_stream');
3. just ABOVE that code add-
stream_wrapper_unregister('pop3');
4. save, upload and test.
Code: Select all
// Register the pop3 stream handler class
stream_wrapper_unregister('pop3');
stream_wrapper_register('pop3', 'pop3_stream');
Re: Hesk 2.4 - Pop3 Fetching
i'm downloading a 252Mb !!! error logbubaweb wrote:I did it before post here. line 114-118Klemen wrote:The above posted solution should fix this issue:
1. Open the hesk_pop3.php file in an editor
2. find-
stream_wrapper_register('pop3', 'pop3_stream');
3. just ABOVE that code add-
stream_wrapper_unregister('pop3');
4. save, upload and test.Code: Select all
// Register the pop3 stream handler class stream_wrapper_unregister('pop3'); stream_wrapper_register('pop3', 'pop3_stream');
holyS°°T
Re: Hesk 2.4 - Pop3 Fetching
That code should go around line 59, why all the way down to line 114?
Can you post first 120 lines of your hesk_pop3.php file?
Can you post first 120 lines of your hesk_pop3.php file?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Hesk 2.4 - Pop3 Fetching
sent u 2 pm with details and linkKlemen wrote:That code should go around line 59, why all the way down to line 114?
Can you post first 120 lines of your hesk_pop3.php file?
thx in adv for support
-
- Posts: 4
- Joined: Wed Aug 15, 2012 5:13 pm
Re: Hesk 2.4 - Pop3 Fetching
I already upgrade to 2.4.1 but still having issue fetch mail from pop3.
it will fetch when I ran http://domain.com/inc/mail/hesk_pop3.php, but all mail in mailbox will be gone.
can it run automatically ?
it will fetch when I ran http://domain.com/inc/mail/hesk_pop3.php, but all mail in mailbox will be gone.
can it run automatically ?