Page 1 of 1
Error import mail imap after update hesk 3.4.3
Posted: Sat Nov 11, 2023 1:27 pm
by bauer
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:
Good morning,
after updating to 3.4.3 ( from 3.1.1)in the imap configuration I can no longer send emails to the tickets.
I already had a task that imports from "C:\Program Files\PHP\v7.3\php.exe" -f "C:\inetpub\wwwroot\hesk\inc\mail\hesk_imap.php" but it is no longer working.
Everything goes from the ticket but I can no longer receive and keep a copy in my mailbox.
Can you help me?
Thanks
Re: Error import mail imap after update hesk 3.4.3
Posted: Sat Nov 11, 2023 5:25 pm
by Klemen
If you turn debug mode ON in Hesk admin > Settings > Help desk then open the /inc/mail/hesk_imap.php in your browser, what does it say?
Re: Error import mail imap after update hesk 3.4.3
Posted: Mon Nov 13, 2023 8:01 am
by bauer
Good morning,
I solved.
PS: My ticket system is not posted online.
I was trying to connect OAuth but it gives me the error indicated in the guide.
Question: Can I still use hesk and have it work with 365 even if it is not published on the internet?
A thousand thanks
Greetings
Re: Error import mail imap after update hesk 3.4.3
Posted: Tue Nov 14, 2023 7:39 pm
by Klemen
Sure, as long as you have an internet connection (to connect to O365 servers), it will also work on a local (intranet) server.
Re: Error import mail imap after update hesk 3.4.3
Posted: Tue Nov 28, 2023 8:11 am
by bauer
Hi,
stil not working...
AADSTS50011: The redirect URI '
http://srvweb2/hesk/admin/oauth_providers.php' specified in the request does not match the redirect URIs configured for the application '******************'. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to
https://aka.ms/redirectUriMismatchError to learn more about how to fix this.
Srvweb2 is my localhost.
In URI in Register Application a wrote
http://localhost/hesk/admin/oauth_providers.php but nothing, not working, alway error AADSTS50011
Connection to microsoft il all open.
Please help me

Re: Error import mail imap after update hesk 3.4.3
Posted: Tue Nov 28, 2023 1:27 pm
by Klemen
Why are you writing
http://localhost if your server is
http://srvweb2 ? These two must match!
Re: Error import mail imap after update hesk 3.4.3
Posted: Wed Nov 29, 2023 10:39 am
by bauer
hi,
if i wrote srvweb2 its not accept in azure because is not https.
how can I change hesk to https?
thaks you
Re: Error import mail imap after update hesk 3.4.3
Posted: Wed Nov 29, 2023 8:49 pm
by Klemen
https is enabled on the server, not inside Hesk. Your server must have a SSL certificate installed for the domain that Hesk runs under.