The msg['To']
needs to be a string:
msg['To'] = "[email protected], [email protected], [email protected]"
While the recipients
in sendmail(sender, recipients, message)
needs to be a list:
sendmail("[email protected]", ["[email protected]", "[email protected]", "[email protected]"], "Howdy")