I am trying to send email (Gmail) using python, but I am getting following error.
Traceback (most recent call last): File \"emailSend.py\", line 14, in <
import smtplib server = smtplib.SMTP('smtp.gmail.com', 587) server.ehlo() server.starttls() server.login("fromaddress", "password") msg = "HI!" server.sendmail("fromaddress", "receiveraddress", msg) server.quit()