title: Sending an Outlook 2010 email from Python
body: <p>I am trying to send an email through Outlook 2010 with Python. The email sends properly but I get the following error. What could be causing it:</p>
  
  <p>Error:</p>
  
  <pre><code>newMail.send()
  TypeError: 'bool' object is not callable
  </code></pre>
  
  <p>My code: </p>
  
  <pre><code>import win32com.client
  olMailItem = 0x0
  obj = win32com.client.Dispatch("Outlook.Application")
  newMail = obj.CreateItem(olMailItem)
  newMail.Subject = "My Subject"
  newMail.Body = "My Body"
  newMail.To  = "Example@gmail.com"
  newMail.send()
  </code></pre>