0001-use-DEFAULT_FROM_EMAIL-as-sender-address-14111.patch
corbo/models.py | ||
---|---|---|
141 | 141 |
handler = HTML2Text() |
142 | 142 |
activate(settings.LANGUAGE_CODE) |
143 | 143 |
template = loader.get_template('corbo/announce.html') |
144 |
message = Message(subject=self.announce.title, mail_from=settings.CORBO_DEFAULT_FROM_EMAIL,
|
|
144 |
message = Message(subject=self.announce.title, mail_from=settings.DEFAULT_FROM_EMAIL, |
|
145 | 145 |
html=template.render( |
146 | 146 |
Context({'content': self.announce.text, |
147 | 147 |
'unsubscribe_link_placeholder': UNSUBSCRIBE_LINK_PLACEHOLDER}))) |
148 |
- |