Changeset 6431
- Timestamp:
- 09/27/07 22:07:36 (1 year ago)
- Files:
-
- django/trunk/docs/email.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/email.txt
r6393 r6431 318 318 text_content = 'This is an important message.' 319 319 html_content = '<p>This is an <strong>important</strong> message.</p>' 320 msg = EmailMultiAlternatives(subject, text_content, from_email, to)320 msg = EmailMultiAlternatives(subject, text_content, from_email, [to]) 321 321 msg.attach_alternative(html_content, "text/html") 322 322 msg.send()
