Skip to content

Commit

Permalink
Added a closing </p>' to a code example in docs/email.txt
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Aug 6, 2007
1 parent 9a090b2 commit b304ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/email.txt
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ To send a text and HTML combination, you could write::

subject, from_email, to = 'hello', 'from@example.com', 'to@example.com'
text_content = 'This is an important message.'
html_content = '<p>This is an <strong>important</strong> message.'
html_content = '<p>This is an <strong>important</strong> message.</p>'
msg = EmailMultiAlternatives(subject, text_content, from_email, to)
msg.attach_alternative(html_content, "text/html")
msg.send()
Expand Down

0 comments on commit b304ebb

Please sign in to comment.