Django

Code

Changeset 5563

Show
Ignore:
Timestamp:
06/30/07 16:20:25 (1 year ago)
Author:
adrian
Message:

Edited docs/email.txt changes from [5550]

Files:

Legend:

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

    r5562 r5563  
    242242 
    243243    * ``headers``: A dictionary of extra headers to put on the message. The 
    244       keys are the header name, values are the header values. It is up to the 
     244      keys are the header name, values are the header values. It's up to the 
    245245      caller to ensure header names and values are in the correct format for 
    246246      an e-mail message. 
     
    259259 
    260260    * ``message()`` constructs a ``django.core.mail.SafeMIMEText`` object (a 
    261       sub-class of Python's ``email.MIMEText.MIMEText`` class) or a 
     261      subclass of Python's ``email.MIMEText.MIMEText`` class) or a 
    262262      ``django.core.mail.SafeMIMEMultipart`` object holding the 
    263       message to be sent. If you ever need to extend the `EmailMessage` class, 
    264       you'll probably want to override this method to put the content you wish 
     263      message to be sent. If you ever need to extend the ``EmailMessage`` class, 
     264      you'll probably want to override this method to put the content you want 
    265265      into the MIME object. 
    266266 
    267267    * ``recipients()`` returns a list of all the recipients of the message, 
    268268      whether they're recorded in the ``to`` or ``bcc`` attributes. This is 
    269       another method you might need to override when sub-classing, because the 
     269      another method you might need to override when subclassing, because the 
    270270      SMTP server needs to be told the full list of recipients when the message 
    271271      is sent. If you add another way to specify recipients in your class, they