Script URL: /inc/mail/hesk_imap.php
Version of script: latest
Hosting company: self
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: IMAP, URL access key, HTTP access Key, EMail Piping, IMAP retrieval
Write your message below:
We have installed HESK Helpdesk and are trying to read in mail from a standard Linux mail account.
SMTP and IMAP have been set up correctly and also return an "OK" when checked.
Email piping and IMAP retrieval are also enabled, but nothing happens.
Running the PHP program /inc/mail/hesk_imap.php (with 755 permission) asks for a URL access key which does not exist.
What can I do?
IMAP - Mail fetching from Linux Mail server
Moderator: mkoch227
Re: IMAP - Mail fetching from Linux Mail server
Have you gone through all the steps here?
https://www.hesk.com/knowledgebase/?article=91
If yes, what step are you having problems with?
https://www.hesk.com/knowledgebase/?article=91
If yes, what step are you having problems with?
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: IMAP - Mail fetching from Linux Mail server
I have done all steps (more then one time). I'am been able to send EMail using SMTP.
Setting up IMAP gives successful result (Test IMAP connection).
There are two new Mails in the Inbox, but no Mail will be received by Help Desk.
Files in the inc/mail directory were set to 755.
Calling the page: https://service.domainname.xxx/inc/mail/hesk_imap.php generates the following error message (in German):
#!/usr/bin/php -q Error: To run this file over HTTP, you must include your URL access key in the request. Example: /inc/mail/hesk_imap.php?key=XXXXXXXXXX
The problem is - I do not have a key and there is none for the mail program!
Setting up IMAP gives successful result (Test IMAP connection).
There are two new Mails in the Inbox, but no Mail will be received by Help Desk.
Files in the inc/mail directory were set to 755.
Calling the page: https://service.domainname.xxx/inc/mail/hesk_imap.php generates the following error message (in German):
#!/usr/bin/php -q Error: To run this file over HTTP, you must include your URL access key in the request. Example: /inc/mail/hesk_imap.php?key=XXXXXXXXXX
The problem is - I do not have a key and there is none for the mail program!
Re: IMAP - Mail fetching from Linux Mail server
The URL Access Key is set in your HESK Admin panel > Settings > Help desk > Security > URL Access Key, as the article suggests in the big yellow notice 
Also note that IMAP fetching will only get Unread emails from a mailbox.

Also note that IMAP fetching will only get Unread emails from a mailbox.
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: IMAP - Mail fetching from Linux Mail server
I have overlooked the big yellow notice. Those who can read have a clear advantage - and will find .... Many, many thanks. It works.