title: STARTTLS extension not supported by server
body: <p>This maybe a repeated question but I'm still facing issues on this, hope there's a solution around. Thanks in advance.</p>
  
  <p>I'm trying to send mail through the company's server</p>
  
  <p>I'm currently using Python version 2.6 and Ubuntu 10.04</p>
  
  <p>This is the error message I got</p>
  
  <pre><code>Traceback (most recent call last):
  
    File "hxmass-mail-edit.py", line 227, in &lt;module&gt;
      server.starttls()
  
    File "/usr/lib/python2.6/smtplib.py", line 611, in starttls
      raise SMTPException("STARTTLS extension not supported by server.") smtplib.SMTPException: STARTTLS extension not supported by server.
  </code></pre>
  
  <p>Here goes part of the code</p>
  
  <pre><code>server = smtplib.SMTP('smtp.abc.com', 587)
  server.set_debuglevel(1)
  server.ehlo()
  server.starttls()
  server.ehlo()
  server.login('sales@abc.com', 'abc123')
  addressbook=sys.argv[1]
  </code></pre>