Preciso de ajuda com Python

Boa tarde, Galera
Alguém pode me dar um help, por favor!

Não consigo disparar e-mails com “Cc” Cco" o e-mail só chega pra uma pessoa, o que estou fazendo de errado :smile: weary:

from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import smtplib


msg = MIMEMultipart()

message = "Teste Python"
msg["Subject"] = "Example"
msg["From"] = "email servidor"
msg["To"] = "email,email"
msg["Cc"] = "email,email"
body = MIMEText("Teste Email Cc")
password = "xxxx"
msg.attach(body)
msg['To'] = "leandro.com.br"
msg['Subject'] = "teste"

msg.attach(MIMEText(message, 'plain'))

server = smtplib.SMTP('smtp.office365.com: 587')
server.starttls()
server.login(msg['from'], password)
server.sendmail(msg['From'], msg['To'].slit(",") + msg["Cc"].split(","), msg.as_string())
server.quit()

Dê uma olhada nesta parte:
send_message serializes msg using BytesGenerator with \r\n as the linesep , and calls sendmail() to transmit the resulting message. Regardless of the values of from_addr and to_addrs , send_message does not transmit any Bcc or Resent-Bcc headers that may appear in msg . If any of the addresses in from_addr and to_addrs contain non-ASCII characters and the server does not advertise SMTPUTF8 support, an SMTPNotSupported error is raised. Otherwise the Message is serialized with a clone of its policy with the utf8 attribute set to True , and SMTPUTF8 and BODY=8BITMIME are added to mail_options .

,da documentação, em https://docs.python.org/3/library/smtplib.html