smtplib
email.mime.text MIMEText
smtp_server =  smtp_port   = username = password = from_addr = to_addr = msg = MIMEText(,=)
msg[]= smtpobj = smtplib.SMTP_SSL()
smtpobj.connect(smtp_server,smtp_port)
smtpobj.login(username,password)
smtpobj
smtpobj.sendmail(from_addr,to_addr,msg.as_string())
smtpobj.close()