Page 1 of 1

When will IMAP be added to Hesk Helpdesk?

Posted: Tue Jul 05, 2016 6:11 pm
by sp119
Version of script: 2.6.7
Hosting company: internal
What terms did you try when SEARCHING for a solution: IMAP

Write your message below:

Our email has been converted to O365 and they have turned POP3 off. I've fought a good fight to try and get it turned on but it's just not gonna happen, so we are left with IMAP. We have been using Hesk for several years and find it to be an amazing FAQ/Helpdesk combination. Unfortunately due to the lack of IMAP support we have had to switch to another helpdesk system. We are keeping the knowledgebase / FAQ functionality (for now) but I was wondering if adding IMAP is somewhere in the roadmap for the future? If so is there ANY idea when? We would really like to go back to using the helpdesk portion but since email is our primary way of receiving tickets we need IMAP. The other product we are now using for ticketing also has a knowledge base but it's not nearly as robust so we are HOPING to go back to Hesk if IMAP can be added. So here goes - PLEASE PLEASE PLEASE PLEASE PLEASE add IMAP functionality into Hesk!!

Thanks,

--Sean

Re: When will IMAP be added to Hesk Helpdesk?

Posted: Fri Jul 08, 2016 1:48 pm
by Klemen
This was long due and I've had an IMAP add-on almost ready for Hesk, so I am releasing a test version to the public.

There's no GUI setup available yet, so it needs some manual setting up:

1. Download HESK 2.6.7 imap script
2. Open file hesk_imap.php in Notepad++
3. Find and modify settings:

Code: Select all

$hesk_settings['imap']           = 1;
$hesk_settings['imap_job_wait']  = 15;
$hesk_settings['imap_host_name'] = 'imap.gmail.com';
$hesk_settings['imap_host_port'] = 993;
$hesk_settings['imap_enc']       = 'ssl';   // 'ssl' or 'tls' or ''
$hesk_settings['imap_keep']      = 0;       // 0 = delete emails, 1 = keep emails
$hesk_settings['imap_user']      = 'test@example.com';
$hesk_settings['imap_password']  = 'password';
Default should work with Gmail, just enter your own email address and password.

4. Save and upload the two files into your hesk "inc/mail" folder (ASCII mode)
5. chmod "hesk_imap.php" to 0755 (rwxr-xr-x)
6. go into Hesk and under "Settings" > "Help desk" tab > "Features" turn Debug mode ON
7. open hesk_imap.php in your browser and see if it works
8. If all is OK, turn Debug mode OFF
9. setup a cron job to run the hesk_imap.php script every 5 minutes or so.

It should work, but hasn't been tested extensively yet. Please report any problems/feedback here.

Re: When will IMAP be added to Hesk Helpdesk?

Posted: Fri Jul 08, 2016 1:52 pm
by Klemen
P.s.: for office365 change host name to 'outlook.office365.com', the rest is the same.

Re: When will IMAP be added to Hesk Helpdesk?

Posted: Fri Jul 08, 2016 1:55 pm
by sp119
SWEEEEEETTTTT!!!! I'll give it a try today! Thank you very much for such a quick reply. I'll let you know how it goes!

Re: When will IMAP be added to Hesk Helpdesk?

Posted: Fri Jul 08, 2016 4:36 pm
by sp119
Klemen - It works like a charm!!! I have a test environment setup and it worked perfectly in that so I have migrated to our production environment and it works perfectly!

You have saved our office from an extreme headache of learning a new (and inferior) system! It will be nice (but not imperative) to have the GUI so I'll keep watching for updates.

We have been using Hesk for several years and I've found it to be the best Knowledgebase / Helpdesk system available and I want to again thank you for developing it and helping us to get it setup with out new IMAP environment. I tell everyone that asks that this is the best system out there!

--Sean