Mailing fixin only recipients to prevent blank emails
This commit is contained in:
parent
e3e76872a5
commit
a926813f04
|
@ -20,9 +20,6 @@ class Email(object):
|
||||||
self.from_email = getattr(settings, 'FROM_EMAIL', 'root@localhost')
|
self.from_email = getattr(settings, 'FROM_EMAIL', 'root@localhost')
|
||||||
self.context = context
|
self.context = context
|
||||||
self.recipients = []
|
self.recipients = []
|
||||||
self.template = ''
|
|
||||||
self.text = ''
|
|
||||||
self.subject = ''
|
|
||||||
self.prepare()
|
self.prepare()
|
||||||
|
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
|
|
Reference in New Issue