I am trying to send emails from the python script following this thread Sending mail from Python using SMTP
But I am getting an error while doing this:
from smtplib import SMTP_SSL as SMTP
Error: ImportError: cannot import name SMTP_SSL
I am using python2.7.10 and I downloaded it from https://www.python.org/downloads/
Can anybody guess what can be the reason for the error. Please note that the name of script is not email.py