Follow the instructions below to set up Codacy to send emails using your SMTP server:
Edit the file
values-production.yamlthat you used to install Codacy.
global.email.enabled: "true"and define the remaining values with the credentials for your SMTP server:
email: enabled: "true" replyTo: "email@example.com" # Reply-to field on sent emails smtp: protocol: "smtp" # SMTP protocol to use, either smtps or smtp hostname: "smtp.example.com" # Hostname of your SMTP server # username: "" # Optional username to authenticate on your SMTP server # password: "" # Optional password to authenticate on your SMTP server # port: 25 # Optional port of your SMTP server, the default is 25
Apply the new configuration by performing a Helm upgrade. To do so execute the command used to install Codacy:
If you are using MicroK8s you must use the file
values-microk8s.yamltogether with the file
To do this, uncomment the last line before running the
helm upgradecommand below.
helm upgrade (...options used to install Codacy...) \ --values values-production.yaml \ # --values values-microk8s.yaml
After this is done you will be able to:
- Invite new users via email
- Receive commit and pull request email notifications