mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
again with the readme
This commit is contained in:
@@ -91,6 +91,7 @@ Example, in a view: ::
|
|||||||
msg = DjrillMessage(subject, text_content, from_email, to, tags=tags, from_name=from_name)
|
msg = DjrillMessage(subject, text_content, from_email, to, tags=tags, from_name=from_name)
|
||||||
msg.attach_alternative(html_content, "text/html")
|
msg.attach_alternative(html_content, "text/html")
|
||||||
msg.send()
|
msg.send()
|
||||||
|
... # you'll want to return some sort of HttpResponse
|
||||||
|
|
||||||
Any tags over 50 characters in length are silently ignored. Same for any attached alternatives after the first one.
|
Any tags over 50 characters in length are silently ignored. Same for any attached alternatives after the first one.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user