Versions Compared

Key

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

...

  • Note that e-mail settings are used for JS7 - Notification - Configuration Element MailFragment
    • The names of Arguments and Environment Variables should not be changed.
    • Any further Arguments and Environment Variables can be added that start with the prefix mail.smtp. and MAIL_SMTP_ respectively,
      • For example, to force support for TLS connections with a specific version of the protocol you can use:
        • Argument: mail.smtp.ssl.protocols, value: TLSv1.2
        • Argument: mail.smtp.starttls.enable, value: true

      • For authentication the following settings are used:
        • the mail.smtp.user setting is assigned the SMTP user account.
        • the mail.smtp.password setting is assigned the password.
      • When using OAuth2 authentication then the following settings are used:
        • the mail.smtp.auth setting is assigned the value true.
        • the mail.smtp.auth.mechanisms setting is assigned the value XOAUTH2.
        • the mail.smtp.user setting is assigned the OAuth2 user account.
        • the mail.smtp.password setting is assigned the OAuth2 access token.
        • Some mail servers such as smtp.office365.com might require the older SASL mechanism to be used:
          • the mail.smtp.sasl.mechanisms.oauth2.oauthToken setting is assigned the OAuth2 access token.
          • the mail.smtp.password setting is not specified.
    • Find the list of available settings for JavaMail from : https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html

...