Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `SMTP_HOST`

Option | `SMTP_HOST`
Description | Allows to send emails using an SMTP server

Configures LogScale to send emails using an SMTP server.

### Warning

Only put a password here if you also enable `SMTP_USE_STARTTLS`. Otherwise you will expose your password.

Below is an example excerpt from the LogScale configuration file for a server using GMail:

ini

    SMTP_HOST=smtp.gmail.com
    SMTP_PORT=587
    SMTP_SENDER_ADDRESS=you@domain.com
    SMTP_USE_STARTTLS=true
    SMTP_USERNAME=you@domain.com
    SMTP_PASSWORD=your-secret-password

Alternatively, here's an example excerpt using a local clear-text, non-authenticated SMTP server:

ini

    SMTP_HOST=localhost
    SMTP_PORT=25
    SMTP_SENDER_ADDRESS=you@domain.com
    SMTP_USE_STARTTLS=false

#### Enter search term