From 0aa438a3dff24a4e257a1190d2ba32893dfbc54d Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 7 Oct 2010 23:36:02 +0000 Subject: 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 --- docs/topics/email.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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', -- cgit v1.3