send cloud warning emails to root
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2487ab3668
commit
f3c542208a
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue