Commit f3124890e693e4ec0035e808204508359408c940

Authored by Antoine Goutenoir
1 parent 54a9b7ac
Exists in master

Prepare mailer configuration in the distributed `.env` file.

Showing 1 changed file with 13 additions and 2 deletions   Show diff stats
.env.dist
1 1 # Create a sibling `.env` file from this file, and customize it.
2   -# `export ` prefixes are ignored and allow bash sourcing of this file
  2 +# `export ` prefixes are ignored and allow bash sourcing of this file.
3 3  
4 4 # Secret for Flask
5 5 export FLASK_SECRET="IAMN0TSECRETCHANGEM3"
6 6  
7 7 # Credentials for the restricted sections
8 8 export ADMIN_USERNAME="admin"
9   -export ADMIN_PASSWORD="admin"
10 9 \ No newline at end of file
  10 +export ADMIN_PASSWORD="admin"
  11 +
  12 +# Mail sending configuration
  13 +export MAIL_SERVER="localhost"
  14 +export MAIL_PORT=25
  15 +export MAIL_USE_TLS=0
  16 +export MAIL_USE_SSL=0
  17 +export MAIL_USERNAME="my_username"
  18 +export MAIL_PASSWORD="my_password"
  19 +export MAIL_DEFAULT_SENDER="bot-noreply@travel-footprint-calculator.irap.omp.eu"
  20 +#export MAIL_MAX_EMAILS=None
  21 +#export MAIL_ASCII_ATTACHMENTS=False
... ...