Changeset 5563
- Timestamp:
- 06/30/07 16:20:25 (1 year ago)
- Files:
-
- django/trunk/docs/email.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/email.txt
r5562 r5563 242 242 243 243 * ``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 the244 keys are the header name, values are the header values. It's up to the 245 245 caller to ensure header names and values are in the correct format for 246 246 an e-mail message. … … 259 259 260 260 * ``message()`` constructs a ``django.core.mail.SafeMIMEText`` object (a 261 sub -class of Python's ``email.MIMEText.MIMEText`` class) or a261 subclass of Python's ``email.MIMEText.MIMEText`` class) or a 262 262 ``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 w ish263 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 265 265 into the MIME object. 266 266 267 267 * ``recipients()`` returns a list of all the recipients of the message, 268 268 whether they're recorded in the ``to`` or ``bcc`` attributes. This is 269 another method you might need to override when sub -classing, because the269 another method you might need to override when subclassing, because the 270 270 SMTP server needs to be told the full list of recipients when the message 271 271 is sent. If you add another way to specify recipients in your class, they
