send cloud warning emails to root

pull/53/head
Max Erenberg 11 months ago
parent 2487ab3668
commit f3c542208a
  1. 6
      ceod/model/MailService.py

@ -105,7 +105,8 @@ class MailService:
f'{user.cn} <{user.uid}@{self.base_domain}>',
{
'Subject': 'Your CSC Cloud account will be deleted',
'Cc': f'ceo+cloudaccounts@{self.base_domain}',
'Cc': f'root@{self.base_domain}',
'Reply-To': f'syscom@{self.base_domain}',
},
body,
)
@ -118,7 +119,8 @@ class MailService:
f'{user.cn} <{user.uid}@{self.base_domain}>',
{
'Subject': 'Your CSC Cloud account has been deleted',
'Cc': f'ceo+cloudaccounts@{self.base_domain}',
'Cc': f'root@{self.base_domain}',
'Reply-To': f'syscom@{self.base_domain}',
},
body,
)

Loading…
Cancel
Save