Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
151 Zobrazení

I'm trying to configure an incoming mail server

I have entered a name

selected type "Outlook OAuth Authentication"

Server name : outlook.office365.com

Port : 995

SSL/TLS are checked

Username are my email

There are a green label "Outlook Token Valid"

If I click on "Test & Confirm" I got and error message

  "Invalid Operation

   Server replied with following exception:

     None"


I don't have trouble with the outgoing mail server. (Encryption TLS, server name:smtp.office365.com, port:587, username:my email)


I use the same parameters in osTicket installation without error.


The licence I use are the Kiosk, POP only, no IMAP

If I try with port 993 for IMAP, I have another error message : " SELECT command error: BAD [b'User is authenticated but not connected.'] "


Do you have some idea to slove this issue ?

Thank you


Avatar
Zrušit
Autor Nejlepší odpověď

I forgot to tell that the Exchange365 licence I use are the Kiosk. I don't have access to IMAP protocol, only the POP with a small 2Gb of storage.

I also try with IMAP by chaning port for 993, I got error message : " SELECT command error: BAD [b'User is authenticated but not connected.'] "

Avatar
Zrušit
Nejlepší odpověď

Hii,

Switch to IMAP settings

Server Name: outlook.office365.com

Port: 993

SSL/TLS: Checked

Username: your full email address

Keep “Outlook OAuth Authentication” selected.


Enable IMAP in your Microsoft 365 account

Grant API permissions for IMAP in Azure (if you're using custom app registration)

  • Go to Azure AD → App registrations → Your OAuth app → API Permissions.
  • Add IMAP.AccessAsUser.All and SMTP.Send permissions.
  • Grant admin consent.

Re-authenticate token in Odoo

  • Click Authorize again in Odoo's mail server form.
  • Ensure you log in and accept permissions.

i hope it is use full


Avatar
Zrušit