Skip to main content
Version: 23.2

Mail server

Mail server configuration

You can specify the configuration settings for email using either environment variables, or the tower.yml file.

Note: To configure proxy settings, the tower.yml file must be used (see below).

tower.env
TOWER_CONTACT_EMAIL=hello@foo.com
TOWER_SMTP_HOST=your.smtphost.com
TOWER_SMTP_USER=your_smtp_user
TOWER_SMTP_PASSWORD=your_smtp_password
TOWER_SMTP_PORT=587
TOWER_SMTP_AUTH=true
TOWER_SMTP_STARTTLS_ENABLED=true
TOWER_SMTP_STARTTLS_REQUIRED=true
tower.yml
mail:
smtp:
host: "your.smtphost.com"
port: "587"
auth: "true"
user: "your_smtp_user"
password: "your_smtp_password"
starttls:
enable: true
required: true
proxy:
host: "proxy.com"
port: "5566"