Ask Your Question

Smtp connection to GMail [closed]

asked 2016-04-17 22:18:36 +0100

prrvchr gravatar image

updated 2020-08-31 00:18:28 +0100

Alex Kemp gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-08-31 00:18:42.826808

1 Answer

Sort by » oldest newest most voted

answered 2016-10-06 19:45:24 +0100

linuxovios gravatar image

I made the change you suggest and the problem still remains. Libre office's mail merge e-mail function is broken.

PS I have successfully connected to yahoo mail smtp servers, but mail merged letter (as pdf attachement) won't be delivered either...

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-04-17 22:18:36 +0100

Seen: 915 times

Last updated: Oct 06 '16