Variable | SMTP_HOST | |
Description | Allows to send emails using an SMTP server |
Let LogScale send emails using an SMTP server.
Warning. Only put a password here if you also enable StartTLS. Otherwise you will expose your password.
Below is an example excerpt from the LogScale configuration file for a server using GMail:
ini files
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 files
SMTP_HOST=localhost
SMTP_PORT=25
SMTP_SENDER_ADDRESS=you@domain.com
SMTP_USE_STARTTLS=false