send cloud warning emails to root
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Max Erenberg 2022-03-12 16:09:19 -05:00
parent 2487ab3668
commit f3c542208a
1 changed files with 4 additions and 2 deletions

View File

@ -105,7 +105,8 @@ class MailService:
f'{user.cn} <{user.uid}@{self.base_domain}>', f'{user.cn} <{user.uid}@{self.base_domain}>',
{ {
'Subject': 'Your CSC Cloud account will be deleted', '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, body,
) )
@ -118,7 +119,8 @@ class MailService:
f'{user.cn} <{user.uid}@{self.base_domain}>', f'{user.cn} <{user.uid}@{self.base_domain}>',
{ {
'Subject': 'Your CSC Cloud account has been deleted', '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, body,
) )