Enable SMTP for Email Invitations

SigNoz allows you to configure email settings for sending email Invitations. Depending on the version you're using, you can choose which variables to configure.

Version greater than 0.84.x

Environment variableDescription
SIGNOZ_EMAILING_ENABLEDEnable or disable emailing
SIGNOZ_EMAILING_TEMPLATES_DIRECTORYThe directory containing the email templates. This directory should contain a list of files defined at pkg/types/emailtypes/template.go
SIGNOZ_EMAILING_SMTP_ADDRESSSMTP server address (host:port)
SIGNOZ_EMAILING_SMTP_FROMSender address
SIGNOZ_EMAILING_SMTP_HELLOHello message to use for the SMTP server
SIGNOZ_EMAILING_SMTP_HEADERSStatic headers to send with the email
SIGNOZ_EMAILING_SMTP_AUTH_USERNAMEUsername to use for the SMTP server
SIGNOZ_EMAILING_SMTP_AUTH_PASSWORDPassword to use for the SMTP server
SIGNOZ_EMAILING_SMTP_AUTH_SECRETSecret to use for the SMTP server
SIGNOZ_EMAILING_SMTP_AUTH_IDENTITYIdentity to use for the SMTP server
SIGNOZ_EMAILING_SMTP_TLS_ENABLEDTo enable TLS. It should be false in most cases since the authentication mechanism should use the STARTTLS extension instead.
SIGNOZ_EMAILING_SMTP_TLS_INSECURE_SKIP_VERIFYWhether to skip TLS verification
SIGNOZ_EMAILING_SMTP_TLS_CA_FILE_PATHPath to CA file
SIGNOZ_EMAILING_SMTP_TLS_KEY_FILE_PATHPath to Key file
SIGNOZ_EMAILING_SMTP_TLS_CERT_FILE_PATHPath to the Certificate file

## Versions less than or equal to 0.84.x

To enable email, you need to set the following environment variables

  • SMTP_ENABLED: Enable SMTP for sending email invitations.
  • SMTP_FROM: The email address from which the invitations will be sent.
  • SMTP_HOST: The SMTP host obtained from your email provider.
  • SMTP_PORT: The SMTP port obtained from your email provider.
  • SMTP_USERNAME: The SMTP user obtained from your email provider.
  • SMTP_PASSWORD: The SMTP password obtained from your email provider.

Was this page helpful?