E-Mail Configuration: SMTP Settings

The Structr server is able to send notifications by e-mail. In order to enable e-mail, the following configuration has to be present in the global configuration file structr.conf:

# E-Mail settings: Set host and port of an MTA Structr will use to send e-mails
smtp.host = localhost
smtp.port = 25
#smtp.user =
#smtp.password =
smtp.tls.enabled = true
smtp.tls.required = false

The above example shows a configuration of a local MTA (Mail Transfer Agent) on your server (e.g. Postfix).

You can also configure a real mail server of your provider. In this case it is typically required to set username and password for authentication.

About this article
Last change 2019-05-21
Topics Structr 2.0