Question #241177 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/241177
Description changed to: Basically i want to send a email when I find a particular image , so my algorithm goes something like if exists(IMG): send email exit(0); So for past few hours I was working on email script and I'm not find any luck. import smtplib to = '[email protected]' gmail_user = '[email protected]' gmail_pwd = 'Games@10' smtpserver = smtplib.SMTP("mail.gmail.com") #the smtp used is just a example not the 1 I'm using in real script. smtpserver.ehlo() smtpserver.starttls() # HERE Is the place where is shows the error smtpserver.ehlo smtpserver.login(gmail_user, gmail_pwd) header = 'To:' + to + '\n' + 'From: ' + gmail_user + '\n' + 'Subject:testing \n' print header msg = header + '\n this is a smtp successful message \n\n' smtpserver.sendmail(gmail_user, to, msg) print 'done!' smtpserver.close() I get a error like [error] socket.sslerror ( (-1, 'SSL handshake exception: Differences between the SSL socket behaviour of cpython vs. jython are explained on the wiki: http://wiki.python.org/jython/NewSocketModule#SSL_Support') ) I went through document and I had no luck, can someone correct me -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

