recipients = ['example1@gmail.com', 'example2@example.com']
msg['Subject'] = 'test'
msg['From'] = sender
msg['To'] = ', '.join(recipients)
s.sendmail(sender, recipients, msg.as_string())
Python Not Sending Email To Multiple Addresses