~sircmpwn/git-send-email.io

b824632ed73fd83e852a88de2ee4158ee814bca8 — Drew DeVault 1 year, 7 months ago 8133aea 0.1.4
Use reply["Cc"] for copying list
1 files changed, 1 insertions(+), 1 deletions(-)

M email_tutorial/app.py
M email_tutorial/app.py => email_tutorial/app.py +1 -1
@@ 40,7 40,7 @@ def send_reply(original, reply):
    sender = parseaddr(original["From"])
    recipients = [sender[1]]
    if reply["Cc"]:
        recipients.append(parseaddr(original["Cc"])[1])
        recipients.append(parseaddr(reply["Cc"])[1])
    smtp = smtplib.SMTP(smtp_host, smtp_port)
    smtp.ehlo()
    smtp.starttls()