|
@@ -202,8 +202,17 @@ class CFG(object):
|
202
|
202
|
self.WEBSITE_SUBTITLE = tg.config.get('website.home.subtitle', '')
|
203
|
203
|
self.WEBSITE_HOME_BELOW_LOGIN_FORM = tg.config.get('website.home.below_login_form', '')
|
204
|
204
|
|
|
205
|
+ if tg.config.get('email.notification.from'):
|
|
206
|
+ raise Exception(
|
|
207
|
+ 'email.notification.from configuration is deprecated. '
|
|
208
|
+ 'Use instead email.notification.from.email and '
|
|
209
|
+ 'email.notification.from.default_label.'
|
|
210
|
+ )
|
205
|
211
|
|
206
|
|
- self.EMAIL_NOTIFICATION_FROM = tg.config.get('email.notification.from')
|
|
212
|
+ self.EMAIL_NOTIFICATION_FROM_EMAIL = \
|
|
213
|
+ tg.config.get('email.notification.from.email')
|
|
214
|
+ self.EMAIL_NOTIFICATION_FROM_DEFAULT_LABEL = \
|
|
215
|
+ tg.config.get('email.notification.from.default_label')
|
207
|
216
|
self.EMAIL_NOTIFICATION_CONTENT_UPDATE_TEMPLATE_HTML = tg.config.get('email.notification.content_update.template.html')
|
208
|
217
|
self.EMAIL_NOTIFICATION_CONTENT_UPDATE_TEMPLATE_TEXT = tg.config.get('email.notification.content_update.template.text')
|
209
|
218
|
self.EMAIL_NOTIFICATION_CREATED_ACCOUNT_TEMPLATE_HTML = tg.config.get(
|