Error import mail imap after update hesk 3.4.3

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
bauer
Posts: 4
Joined: Sat Nov 11, 2023 1:20 pm

Error import mail imap after update hesk 3.4.3

Post 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? :roll:

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

Re: Error import mail imap after update hesk 3.4.3

Post 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?
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
bauer
Posts: 4
Joined: Sat Nov 11, 2023 1:20 pm

Re: Error import mail imap after update hesk 3.4.3

Post 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
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Error import mail imap after update hesk 3.4.3

Post 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.
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
bauer
Posts: 4
Joined: Sat Nov 11, 2023 1:20 pm

Re: Error import mail imap after update hesk 3.4.3

Post 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 :( :(
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Error import mail imap after update hesk 3.4.3

Post by Klemen »

Why are you writing http://localhost if your server is http://srvweb2 ? These two must match!
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
bauer
Posts: 4
Joined: Sat Nov 11, 2023 1:20 pm

Re: Error import mail imap after update hesk 3.4.3

Post 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
Klemen
Site Admin
Posts: 10139
Joined: Fri Feb 11, 2005 4:04 pm

Re: Error import mail imap after update hesk 3.4.3

Post 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.
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