diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2010-10-07 23:36:02 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2010-10-07 23:36:02 +0000 |
| commit | 0aa438a3dff24a4e257a1190d2ba32893dfbc54d (patch) | |
| tree | 4de23b42a874fc10f462cc6ff6d2feca1d1ef53b /docs/topics | |
| parent | 2faa490aeb142345daf7d75a40b8c73e1099f6d8 (diff) | |
Fixed #7722 - added support for CC in EmailMessage.
Thanks to roberto.digirolamo for the report and initial patch, and
dougvanhorn and SmileyChris for further work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/email.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt index 31092b0aaa..427bf59f15 100644 --- a/docs/topics/email.txt +++ b/docs/topics/email.txt @@ -235,6 +235,9 @@ following parameters (in the given order, if positional arguments are used). All parameters are optional and can be set at any time prior to calling the ``send()`` method. +.. versionchanged:: 1.3 + The ``cc`` argument was added. + * ``subject``: The subject line of the e-mail. * ``body``: The body text. This should be a plain text message. @@ -261,6 +264,9 @@ All parameters are optional and can be set at any time prior to calling the caller to ensure header names and values are in the correct format for an e-mail message. + * ``cc``: A list or tuple of recipient addresses used in the "Cc" header + when sending the e-mail. + For example:: email = EmailMessage('Hello', 'Body goes here', 'from@example.com', |
