SMTP Configuration

To support policy email notifications, a valid SMTP configuration is required. The following properties are used to configure SMTP:

  • smtp.sender - [required] the address the email is being sent from.
  • smtp.host - [required] the SMTP server being used to send email.
  • smtp.user - the username for the SMTP server, if authentication is required.
  • smtp.password - the password for the SMTP server, if authentication is required.
  • smtp.oauthToken - the OAuth 2.0 access token for the SMTP server, if authentication is required.
  • smtp.port - [default: 25] the port of the SMTP server. 
  • smtp.auth - [default: false] true/false, if authentication is being used.
  • smtp.tls - [default: false] true/false, if TLS is being used.
  • smtp.additionalProps - a list of additional SMTP properties to configure the SMTP server. These are expected as comma-separated key -> value pairs. For example: smtp.additionalProps = mail.smtp.ssl.enable -> true, mail.smtp.ssl.trust -> * You can refer to the full list of available SMTP properties here.