view etc/ltpdarepo.ex @ 259:d8b0a06cb763

Implement SMTPS mail delivery. For clarity the confibguration parameter MAIL_SMTP_USETLS has been renamed to MAIL_SMTP_STARTTLS and a new parameter MAIL_SMTP_SSL has been added to enable SMTPS.
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 29 Sep 2014 15:08:23 +0200
parents fd572809cb18
children
line wrap: on
line source

# secret key used for session cookie encryption
SECRET_KEY = 'please change this!'

# database connection parameters
HOSTNAME = 'localhost'
USERNAME = 'root'
PASSWORD = ''
DATABASE = 'ltpda'

# mailserver
MAIL_SMTP_SERVER = 'localhost'
MAIL_SMTP_PORT = 25
MAIL_SMTP_STARTTLS = False
MAIL_SMTP_SSL = False
MAIL_SMTP_USERNAME = ''
MAIL_SMTP_PASSWORD = ''

# administrator email
ADMIN_EMAIL_ADDR = ''

# debuggig
DEBUG = False
# suppress outgoing emails
TESTING = True