Kaydet (Commit) cab72a43 authored tarafından Tom Scholl's avatar Tom Scholl Kaydeden (comit) Tim Graham

Fixed docs for EmailMessage extra_headers attribute

The EmailMessage documentation describes the initialization parameters
and states they 'can be set at any time prior to calling the send()
method.'. However, the 'headers' parameter's corresponding attribute is
called 'extra_headers'.
üst 413307fe
...@@ -267,7 +267,7 @@ All parameters are optional and can be set at any time prior to calling the ...@@ -267,7 +267,7 @@ All parameters are optional and can be set at any time prior to calling the
* ``headers``: A dictionary of extra headers to put on the message. The * ``headers``: A dictionary of extra headers to put on the message. The
keys are the header name, values are the header values. It's up to the keys are the header name, values are the header values. It's up to the
caller to ensure header names and values are in the correct format for caller to ensure header names and values are in the correct format for
an email message. an email message. The corresponding attribute is ``extra_headers``.
* ``cc``: A list or tuple of recipient addresses used in the "Cc" header * ``cc``: A list or tuple of recipient addresses used in the "Cc" header
when sending the email. when sending the email.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment