Contributors mailing list archives


Re: GSSAPI support to connect Odoo 12 to MS Exchange

by Oleg Kuryan <> - 24/02/2020 17:55:39
Hello Maxine,

I didnt have experience connecting in described way. Not knowing fully problem that you are trying to solve for your customer will anyway try to suggest smth I had experience with. Having additional alternatives never bad idea :)

1) Connecting using SMTP (usually tricky with MS products):

This article describes Office 365 integration. But approach can be quite similar configuration wise.

2) Alternative approach(connecting from Outlook Client side):

 Connecting Exchange server with any service(including Odoo) is usually rather complex job. We did that in the past. And it requires to worry a lot about what info and how you want to allow accessing. Rather easy to make mistake. Or alternatively rather expensive in development.

Instead we realized that easier and more secure approach is to initiate connection between Odoo and MS Exchange from side of Outlook Client (as Outlook Client already do communication with Exchange in secure way, so Microsoft solved that for us). So Outlook already getting all info for us, that is allowed to be seen ONLY, by current user. What we need is just to take that info and send to Odoo.

To test approach we developed simple app as showed on video.
Note this is not outgoing mails integration, but this video is just to demo approach .

Maybe this approaches is something you need to consider. 

On Mon, Feb 24, 2020, 5:47 PM Maxime Chambreuil <> wrote:

I have a project where I need to connect Odoo 12 to Microsoft Exchange requiring GSSAPI for outgoing emails.

Any experience or recommendation around this topic?

Thank you.

O: 1.855.877.2377 EXT. 710
M: 602.427.5632
P.O. BOX 940, HIGLEY, AZ 85236

Post to: