Hi,
I'm using HESK v3.4.3
When I set up IMAP Fetching, I chose port 143 for non-encrypted. The test report always said: TLS/SSL failure for mail.xxxxx.com: SSL negotiation failed
Is it a bug?
Please help. Thank you.
IMAP fetching issue
Moderator: mkoch227
Re: IMAP fetching issue
Perhaps your IMAP server is forcing a secure connection (I just tested with our mail server al 143 with TLS and with None work OK).
Try port 143 and TLS. Also, try with "Do not validate server certificates".
Any special reason why you wouldn't want your connection encrypted? Port 993 with SSL is the setting that works with most IMAP servers.
Try port 143 and TLS. Also, try with "Do not validate server certificates".
Any special reason why you wouldn't want your connection encrypted? Port 993 with SSL is the setting that works with most IMAP servers.
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 fetching issue
Hi Klemen,
Thank you.
Now, I changed the email system to O365 using OAuth, the IMAP fetching connection is okay, but can't pick up the email to tickets.
Checked with https://www.hesk.com/knowledgebase/?article=91
I did the step 5, the feedback is "#!/usr/bin/php -q" is it right?
Also did step 7.
Please help.
Thank you.
Now, I changed the email system to O365 using OAuth, the IMAP fetching connection is okay, but can't pick up the email to tickets.
Checked with https://www.hesk.com/knowledgebase/?article=91
I did the step 5, the feedback is "#!/usr/bin/php -q" is it right?
Also did step 7.
Please help.
Re: IMAP fetching issue
Do you have any unread emails in the mailbox?
Does the number of unread emails match the number you get in Admin > Settings > Email > click "Test IMAP Connection"
Does the number of unread emails match the number you get in Admin > Settings > Email > click "Test IMAP Connection"
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 fetching issue
Hi Klemen,
Yes, there are some unread emails, but there is 0 use testing.
Yes, there are some unread emails, but there is 0 use testing.
Re: IMAP fetching issue
This likely means that the OAuth setup was not completed correctly. Try this, please:
1. open Hesk in a private (incognito) browser window to make sure you are not logged in anywhere
2. go to Hesk Tools > OAuth Providers
3. click the "Edit" icon for your OAuth provider
4. click "Save" and you will be redirected to Microsoft
5. Make 100% sure you login with the email account you use in Hesk into Microsoft
6. when you get back to Hesk, test the IMAP connection again
Do you get any other number of messages now instead of 0?
1. open Hesk in a private (incognito) browser window to make sure you are not logged in anywhere
2. go to Hesk Tools > OAuth Providers
3. click the "Edit" icon for your OAuth provider
4. click "Save" and you will be redirected to Microsoft
5. Make 100% sure you login with the email account you use in Hesk into Microsoft
6. when you get back to Hesk, test the IMAP connection again
Do you get any other number of messages now instead of 0?
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 fetching issue
Yes, after step 5 redirected, get the correct number of messages.
Thank you so much!
Thank you so much!