Closed jzr-supove closed 2 years ago
Hello?
✅ Solved the issue by passing the html content to the html
parameter of the MessageSchema
instead of the body
:
MessageSchema(
subject="Subject",
recipients=["example@mail.com"],
html=html_template, # <------
subtype="html"
)
Example in the README.md
documentation should be updated!
I'm sending html body, but its rendering incorrectly:
first html as plain text and rendered version underneath it
Code:
Result: