smtp.sendmail(msg["From"], msg["To"].split(","), msg.as_string())