title: Email multiple contacts in Python
body: <p>I am trying to send an email to multiple addresses. The code below shows what I'm attempting to achieve. When I add two addresses the email does not send to the second address. The code is:</p>
  
  <pre><code>   me = 'a@a.com'
     you = 'a@a.com, a@a.com'
     msg['Subject'] = "Some Subject"
     msg['From'] = me
     msg['To'] = you
  
     # Send the message via our own SMTP server
     s = smtplib.SMTP('a.a.a.a')
     s.sendmail(me, [you], msg.as_string())
     s.quit()
  </code></pre>
  
  <p>I have tried:</p>
  
  <pre><code>you = ['a@a.com', 'a@a.com']
  </code></pre>
  
  <p>and</p>
  
  <pre><code>you = 'a@a.com', 'a@a.com'
  </code></pre>
  
  <p>Thanks</p>