Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SettingValue
mail.smtp.authtrue
mail.smtp.user<account@domain><account>@<domain>
mail.smtp.password<password>

OAuth2 Authentication E-Mail Settings

OAuth2 authentication with mail servers allows to use an access token instead of a password:

  • Display feature availability
    StartingFromRelease2.5.2
  • For earlier versions of JS7 see the section Workaround of the following change for instructions how to update to a newer version of JavaMail that allows OAuth2 authentication:
    Jira
    serverSOS JIRA
    columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverId6dc67751-9d67-34cd-985b-194a8cdc9602
    keyJOC-1456

The following settings can be used:

SettingValueHint
mail.smtp.authtrue
mail.smtp.auth.mechanismsXOAUTH2
mail.smtp.user<account>@<domain>
mail.smtp.password<oauth2-access-token>
mail.smtp.sasl.mechanisms.oauth2.oauthToken<oauth2-access-token>

some mail servers such as smtp.office365.com might force the outdated SASL mechanism to be used

  • This setting can be  used and is assigned the OAuth2 access token
  • The mail.smtp.password setting is not specified

Anchor
logging
logging
Logging

...