Enablig IMAP AFTER hesk installation

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
Orazio
Posts: 8
Joined: Sun Mar 02, 2025 7:00 pm

Enablig IMAP AFTER hesk installation

Post by Orazio »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
Hi, I wish to setup IMAP protocol for emails fetching. Since IMAP is by default disabled in php I allowed the relative extension. In phpinfo() I see IMAP enabled, but when I reload the hesk administration panel the IMAP is still not available. Any advice about that?
Regards
Orazio
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Enablig IMAP AFTER hesk installation

Post by Klemen »

There is nothing in Hesk that needs to be done.

Hesk checks if the "imap_open" PHP function exists. If it does, IMAP is enabled. If it doesn't exist, IMAP isn't available.

If you are 101% sure your IMAP is enabled, maybe you have Hesk output cached on the server-side; turn off any server-side caching for Hesk and try again.

P.s.: you can save this as "test.php" and run it on your server to check if imap is available:

Code: Select all

<?php
if (function_exists('imap_open')) {
    echo "IMAP enabled";
} else {
    echo "IMAP not available";
}
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
Orazio
Posts: 8
Joined: Sun Mar 02, 2025 7:00 pm

Re: Enablig IMAP AFTER hesk installation

Post by Orazio »

Hi,
I did run "test.php" and it says "IMAP enabled", but hesk still says that IMAP support is not present.
I also got rid of any cache element related to site...
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Enablig IMAP AFTER hesk installation

Post by Klemen »

Hesk uses the exact same check so something must be cached somewhere.
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
Orazio
Posts: 8
Joined: Sun Mar 02, 2025 7:00 pm

Re: Enablig IMAP AFTER hesk installation

Post by Orazio »

Ok, will check it.
Regards
Orazio
Orazio
Posts: 8
Joined: Sun Mar 02, 2025 7:00 pm

Re: Enablig IMAP AFTER hesk installation

Post by Orazio »

The only solution which worked has been remove hesk and install it again.
At that point the script recognize imap support in php and allows the relative settings.

Regards
Orazio
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Enablig IMAP AFTER hesk installation

Post by Klemen »

Glad to hear that worked for you. It shows the problem was cached files server-side because nothing has changed in the code when you installed the new copy of Hesk.
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