Changeset 5814
- Timestamp:
- 08/06/07 00:27:58 (1 year ago)
- Files:
-
- django/trunk/docs/email.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/email.txt
r5563 r5814 315 315 subject, from_email, to = 'hello', 'from@example.com', 'to@example.com' 316 316 text_content = 'This is an important message.' 317 html_content = '<p>This is an <strong>important</strong> message. '317 html_content = '<p>This is an <strong>important</strong> message.</p>' 318 318 msg = EmailMultiAlternatives(subject, text_content, from_email, to) 319 319 msg.attach_alternative(html_content, "text/html")
