Ask Your Question

prrvchr's profile - activity

2016-08-15 15:05:14 +0200 received badge  Famous Question (source)
2016-04-24 20:39:43 +0200 received badge  Notable Question (source)
2016-04-18 10:57:54 +0200 received badge  Popular Question (source)
2016-04-17 22:25:05 +0200 received badge  Editor (source)
2016-04-17 22:18:36 +0200 asked a question Smtp connection to GMail

Hi All,

After several unsuccessful connection attempt on my Gmail account ( port 465) we can see that the file does not load the library SMTP_SSL but only SMTP

If I replace the line: self.server = smtplib.SMTP(server, port, timeout=tout) by: self.server = smtplib.SMTP_SSL(server, port, timeout=tout) in the file the connection work fine.

Is it possible to change this file ( to supports connections of type: SMTP and SMTP over SSL on port 465.

Thank you.