Ticket #18095: 0001-Added-cc-is-returned-by-recipients-in-the-doc.patch

File 0001-Added-cc-is-returned-by-recipients-in-the-doc.patch, 1.2 KB (added by Stephane Raimbault, 7 years ago)

Update documentation to indicate 'cc' is returned by recipients()

  • docs/topics/email.txt

    From c18648c83e5c0c16a544b8391f0d52d29d7ebabb Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?St=C3=A9phane=20Raimbault?= <stephane.raimbault@gmail.com>
    Date: Tue, 10 Apr 2012 18:09:06 +0200
    Subject: [PATCH] Added 'cc' is returned by recipients() in the doc
    
    ---
     docs/topics/email.txt |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/docs/topics/email.txt b/docs/topics/email.txt
    index 0c5f1ad..2069773 100644
    a b The class has the following methods: 
    290290  override this method to put the content you want into the MIME object.
    291291
    292292* ``recipients()`` returns a list of all the recipients of the message,
    293   whether they're recorded in the ``to`` or ``bcc`` attributes. This is
    294   another method you might need to override when subclassing, because the
     293  whether they're recorded in the ``to``, ``cc`` or ``bcc`` attributes. This
     294  is another method you might need to override when subclassing, because the
    295295  SMTP server needs to be told the full list of recipients when the message
    296296  is sent. If you add another way to specify recipients in your class, they
    297297  need to be returned from this method as well.
Back to Top