mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-06 08:54:12 +00:00
Sending emails to actual users
This commit is contained in:
@@ -62,8 +62,8 @@ class Notification(_BaseModel):
|
||||
'headers': {'Reply-To': 'chatbot@deepsouthsounds.com'},
|
||||
'metadata': {'website': 'www.deepsouthsounds.com'},
|
||||
'subject': self.notification_text,
|
||||
'to': [{'email': 'fergal.moran@gmail.com',
|
||||
'name': 'Fergal Moran',
|
||||
'to': [{'email': self.to_user.email,
|
||||
'name': self.to_user.get_nice_name(),
|
||||
'type': 'to'}],
|
||||
'html': rendered,
|
||||
'text': 'Get yourself some HTML man!',
|
||||
|
||||
Reference in New Issue
Block a user