Add config option notification_bcc for always attaching to notify emails.
[htsworkflow.git] / htsworkflow / frontend / settings.py
index 9d9e066b25e79f773a437d4ce568f3ed19036189..15b84f0dc05c106038f2cb21d465951864b6fbbc 100644 (file)
@@ -96,6 +96,8 @@ if options.has_option('frontend', 'notification_sender'):
     NOTIFICATION_SENDER = options.get('frontend', 'notification_sender')
 else:
     NOTIFICATION_SENDER = "noreply@example.com"
+NOTIFICATION_BCC = []
+options_to_list(options, NOTIFICATION_BCC, 'frontend', 'notification_bcc')
 
 # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
 DATABASE_ENGINE = options.get('frontend', 'database_engine')