Browse Source

Add variables to configure the behaviour of the send_mail function

mario forzanini 2 years ago
parent
commit
cf4e2f8d00
1 changed files with 4 additions and 1 deletions
  1. 4 1
      lcmlog-server

+ 4 - 1
lcmlog-server

@@ -1,6 +1,9 @@
 #!/usr/bin/env python3
 
-DIR = "/var/local/log/lcmlog-data"
+DIR         = "/var/local/log/lcmlog-data"
+FROM_DOMAIN = "lcm.mi.infn.it"
+TO_ADDRESS  = "working@lcm.mi.infn.it"
+REPLY_TO    = True              # Does this make sense?
 
 import os
 import os.path