forked from mirror/django-mailbox
Add file header and dummy HTML method.
This commit is contained in:
parent
305d1c5c38
commit
ce7e17b50c
2 changed files with 16 additions and 0 deletions
|
|
@ -499,6 +499,10 @@ class Message(models.Model):
|
|||
def text(self):
|
||||
return self.get_text_body()
|
||||
|
||||
@property
|
||||
def html(self):
|
||||
return "<html><head></head><body></body></html>"
|
||||
|
||||
def get_text_body(self):
|
||||
def get_body_from_message(message):
|
||||
body = six.text_type('')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue