[SOLVED] email fetching doesn't work

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

[SOLVED] email fetching doesn't work

Post by steraffi »

Script URL: http://185.58.193.30/Version of script: Last
Hosting company: Hosted on vps running ubunti client 14
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
fetching - #!/usr/bin/php -q

Write your message below:
Hi, i'm installing for the first time the hesk's last version on a virtual server ubuntu client 14. (the web server is apache2 and db is mysql - no lampp)
I've a problem with email fetching:
the system doesn't fetch new email
note that the hesk_pop3.php file has 777 CHMOD
and when i execute the file from web browser i receive an error message with this string: #!/usr/bin/php -q

i think the issue depends on my poor knowledge about apache configuration (i normally use xampp). Can you help me to solve?
Thank you
Last edited by steraffi on Wed Apr 15, 2015 1:28 pm, edited 1 time in total.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: email fetching doesn't work

Post by Klemen »

Try turning "Debug mode" to "ON" in HESK settings and see if you get any more information when you open hesk_pop3.php in browser.
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
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: email fetching doesn't work

Post by steraffi »

Hi Klemen; i turned ON debug mode:
the fetching function seems work; this is the message returned:
#!/usr/bin/php -q
'Connected to the POP3 server "pop.gmail.com".
User "testhesk2307@gmail.com" logged in.
There are 1 messages in the mail box with a total of 9391 bytes.
Parsing message 1 of 1'

the problem seems be about ticket visualization on the mail page.

Note that i tried to install the system on xampp in the same server and there the problem doesn't appear

Note also that i don,t receive the opening new ticket mail (and the system isn't in test mode)
Thank's
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: email fetching doesn't work

Post by Klemen »

Are there any folder or files created inside your "attachments" folder when you run POP3 fetching?
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
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: email fetching doesn't work

Post by steraffi »

Nothing; only index.html and __latest.txt (default)
steraffi
Posts: 30
Joined: Tue Sep 18, 2012 10:50 am

Re: email fetching doesn't work

Post by steraffi »

Hi Klemen!
everything stop and save your time!
i solved with a new installation. Perhaps something about old was wrong.
Thank you so much for you patience
i'm closing the post
bye
Post Reply