Answers.Body: <p>UPDATE: It's available now for <strong>INBOUND</strong> emails (bounce processing/email processor) in 5.32 as a hidden extension. See <a href="https://docs.civicrm.org/sysadmin/en/latest/setup/oauth/#enable-the-module" rel="nofollow noreferrer">https://docs.civicrm.org/sysadmin/en/latest/setup/oauth/#enable-the-module</a></p>
  <hr />
  <p>It's in progress for google and would likely be the same for outlook/exchange.</p>
  <p>See <a href="https://lab.civicrm.org/dev/mail/issues/59" rel="nofollow noreferrer">https://lab.civicrm.org/dev/mail/issues/59</a></p>
  <p>It supports using a bearer token already
  but we could use some coding help though for someone to write the code to get/store/use the refresh tokens in order to get the bearer token.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-03-03T14:18:24.793Z
Answers.LastActivityDate: 2020-11-28T16:10:22.583Z
Answers.LastEditDate: 2020-11-28T16:10:22.583Z
Answers.UserDisplayName: Demerit
Body: <p>Exchange Online is retiring basic authentication which means, I think, that CiviMail will no longer be able to process bounced messages in Exchange Online mailboxes.  Are there any plans for CiviMail Mail Accounts to use Oauth2 for authenticating with the mail server?</p>
  
Tags: <civimail>
Title: Mail account authentication with Oauth2
ThreadText: # Mail account authentication with Oauth2
  
  (Asked by: username_0 on 2020-03-03)
  
  Exchange Online is retiring basic authentication which means, I think, that CiviMail will no longer be able to process bounced messages in Exchange Online mailboxes. Are there any plans for CiviMail Mail Accounts to use Oauth2 for authenticating with the mail server?
  
  **Tags:** civimail
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-03-03. Score: 0
  
  UPDATE: It's available now for **INBOUND** emails (bounce processing/email processor) in 5.32 as a hidden extension. See <https://docs.civicrm.org/sysadmin/en/latest/setup/oauth/#enable-the-module>
  
  ---
  
  It's in progress for google and would likely be the same for outlook/exchange.
  
  See <https://lab.civicrm.org/dev/mail/issues/59>
  
  It supports using a bearer token already
  but we could use some coding help though for someone to write the code to get/store/use the refresh tokens in order to get the bearer token.
  
  
  ---
  
  