Django

Code

Changeset 6431

Show
Ignore:
Timestamp:
09/27/07 22:07:36 (1 year ago)
Author:
ubernostrum
Message:

Fixed #5615: Corrected a typo in docs/email.txt. Thanks, raprasad@gmail.com.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/email.txt

    r6393 r6431  
    318318    text_content = 'This is an important message.' 
    319319    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]
    321321    msg.attach_alternative(html_content, "text/html") 
    322322    msg.send()