Skip to main content

SMTP Configuration

To configure SMTP server that LAPIS will use to send emals do the following:

  • Open ~/apache-tomcat/production-cofig.json file in your favorite text editor
  • Add or edit the following property:
     
"smtp": {
    "protocol": "TLS",
    "host": "mail.example.com",
    "port": 587,
    "username": "youraccount@example.com",
    "password": "you-passwors",
    "sender": "no-reply@example.com"
  },
  • protocol: can be one of the following: SMTP, SMTPS or TLS
  • host: address of your SMTP server
  • port: port used by your SMTP server
  • username: username to use for authentication
  • password: password to use for authentication
  • sender: set the address you want to be set as sender to emals that system sends

Restart tomcat to apply the changes:

sudo systemctl restart tomcat.service