Datalore
 
Get a demo

Enable email service

Last modified: 28 February 2024

By default, emails are not enabled and email verification for users is disabled. To enable the email service, specify the following parameters in the docker-compose file:

  • MAIL_SENDER_EMAIL: sender's email

  • MAIL_SENDER_NAME: sender's name

  • MAIL_SENDER_USERNAME: username of SMTP user

  • MAIL_SENDER_PASSWORD: password of SMTP user

  • MAIL_SMTP_SERVER: SMTP server host

  • MAIL_SMTP_PORT: SMTP server port

  • MAIL_ENABLE_STARTTLS: set to true if your SMTP server requires STARTTLS

If you want to disable email verification while having enabled emails, you can explicitly set the FORCE_EMAIL_VERIFICATION property to false.

Example