title: ImportError: cannot import name SMTP_SSL
body: <p>I am trying to send emails from the python script following this thread <a href="https://stackoverflow.com/questions/64505/sending-mail-from-python-using-smtp">Sending mail from Python using SMTP</a></p>
  
  <p>But I am getting an error while doing this:</p>
  
  <pre><code>from smtplib import SMTP_SSL as SMTP
  </code></pre>
  
  <p>Error: ImportError: cannot import name SMTP_SSL</p>
  
  <p>I am using python2.7.10 and I downloaded it from <a href="https://www.python.org/downloads/" rel="nofollow noreferrer">https://www.python.org/downloads/</a></p>
  
  <p>Can anybody guess what can be the reason for the error. Please note that the name of script is not email.py</p>