Skip to content

Commit 832fa79

Browse files
committed
dont require content_subtype to be set to 'html'
1 parent 74144fa commit 832fa79

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

postmark/django_backend.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ def _build_message(self, message):
6565
html_body=alt[0]
6666
break
6767

68-
if getattr(message, 'content_subtype', None) == 'html':
69-
html_body=message.body
70-
7168
reply_to = None
7269
custom_headers = {}
7370
if message.extra_headers and isinstance(message.extra_headers, dict):

0 commit comments

Comments
 (0)