OCA / server-env

Tools to manage environment-dependent configuration
GNU Affero General Public License v3.0
57 stars 157 forks source link

Support for additional fields in mail_environment for fetchmail_outlook #135

Closed sorvis closed 1 year ago

sorvis commented 1 year ago

Fetchmail for Microsoft has some additional fields that need supported in order to utilize mail_environment in conjunction with fetchmail_outlook.

https://github.com/odoo/odoo/blob/14.0/addons/fetchmail_outlook/models/fetchmail_server.py#L12

Describe the solution you'd like Would it be possible to allow generic configuration of mail_fields so that additional new fields for what ever fetchmail provider can be supported in the future without further changes to this module.

Describe alternatives you've considered Since additional fields are not supported the alternative appears to be to disable mail_environment

Additional context Microsoft is deprecating basic authentication at the end of this year.

https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online

sorvis commented 1 year ago

Closing out since we are going the direction of just installing the fetchmail_outlook for lower environments since oath technically does block access at the url level.