'Regression test for #7722'

def test_message_cc_header(self):

    email = EmailMessage('Subject', 'Content', 'from@example.com', ['to@example.com'], cc=['cc@example.com'])
    mail.get_connection().send_messages([email])
    message = self.get_the_message()
    self.assertStartsWith(message.as_string(), 'Content-Type:    text/plain;    charset="utf-8"\nMIME-Version:    1.0\nContent-Transfer-Encoding:    quoted-printable\nSubject:    Subject\nFrom:    from@example.com\nTo:    to@example.com\nCc:    cc@example.com\nDate:    ')
