Page History
...
- Note that e-mail settings are used for JS7 - Notification Notifications - 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.
andMAIL_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
- Argument:
- 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.
- the
- When using OAuth2 authentication then the following settings are used:
- the
mail.smtp.auth
setting is assigned the valuetrue
. - the
mail.smtp.auth.mechanisms
setting is assigned the valueXOAUTH2
. - 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.
- the
- the
- For example, to force support for TLS connections with a specific version of the protocol you can use:
- Find the list of available settings for JavaMail from : https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html
...
Overview
Content Tools