Bug 1859653 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Re AutoDiscover:

We're already implementing autodiscover in the account creation dialog, in JS. It's run as part of automatic account config detection, an integral part of the dialog.

All information that you need from autodiscover for EWS is the EWS URL, and we already read that out and capture it in the AccountConfig class, and it's written into server preference `ews_url` during account creation. Owl uses the information from Autodiscover to create accounts. I'm sure it would be easy to extend to allow it to create EWS account directly in Thunderbird.
https://searchfox.org/comm-central/source/mail/components/accountcreation/modules/ExchangeAutoDiscover.sys.mjs
https://searchfox.org/comm-central/source/mail/components/accountcreation/modules/CreateInBackend.sys.mjs#127

Re utility crate:
EWS and Autodiscover do not have much in common, other than using generic HTTP and XML. For starters, EWS uses SOAP, while Autodiscover does not.
EWS and Autodiscover do not have much in common, other than using generic HTTP and XML. For starters, EWS uses SOAP, while Autodiscover does not.

Back to Bug 1859653 Comment 1