I'm using the smtp module to send emails from python.
I would like to specify several recipients of the email like follows:
msg = MIMEText(time.c time("Body text of email")
me = 'm*@sending.add ress'
you = 'r*********@som e.where,re***** ***@some.where'
msg['Subject'] = '*** Carwatch alert'
msg['From'] = me
msg['To'] = you
# Send the message via our own SMTP server, but don't include the
# envelope header.
# s = smtplib.SMTP('s mtp.ednet.co.uk ')
s = smtplib.SMTP('1 92.168.1.105')
# s.connect()
s.sendmail(me, [you], msg.as_string() )
... when I execute this code, only re********@some .where gets the email.
Is there a way to specifiy multiple addresses in the To field?
thanks
alex