I quite new in programing in python. When i try to send an e-mail using python 2.7, i get an error:
from email.mime.text import MIMETextimport smtplibmsg = MIMEText("Hello There!")msg['Subject'] = 'A Test Message'msg['From']='kolsason7@walla.com'msg['To'] = 'yaron148@gmail.com's = smtplib.SMTP('localhost')s.sendmail('kolsason7@walla.com',['yaron148@gmail.com'],msg.as_string())print("Message Sent!") File "C:\Python27\ArcGISx6410.3\lib\socket.py", line 571, in create_connectionraise errerror: [Errno 10061] >>>