how to edit hesk_imap.php

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
PierreM
Posts: 1
Joined: Tue Nov 07, 2023 6:16 pm

how to edit hesk_imap.php

Post by PierreM »

at this point I'm completely lost, o php knowledge here :-(

Open hesk_imap.php file in your browser, for example:
https://yoursite.com/hesk/inc/mail/hesk_imap.php

If you have URL Access Key set in Admin panel > Settings > Help desk > Security > URL Access Key (which you should), you will need to append ?key=XXXXXXXXX to hesk_imap.php to access it via an URL address:

https://example.com/hesk/inc/mail/hesk_ ... =XXXXXXXXX


how do I make my hesk fetch the emails automatically ?
everything works as long as I use the "https://example.com/hesk/inc/mail/hesk_ ... XX"command in my browser, but it doesn't work by itself,
What do I need, or do I do wrong ??
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: how to edit hesk_imap.php

Post by Klemen »

To make that work automatically, you need to set up a cron (scheduled) job to run the hesk_imap.php script every 5 minutes (step 7 of the https://www.hesk.com/knowledgebase/?article=91 article).

How to set up a cron job - please check with your hosting company, it depends on the server software you use. This cannot be done from within Hesk.

Or, use a remote Cron service to do the job for you: http://www.google.com/search?hl=en&q=cron+service
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