After several unsuccessful connection attempt on my Gmail account (smtp.gmail.com port 465) we can see that the mailmerge.py file does not load the library SMTP_SSL but only SMTP
If I replace the line:
self.server = smtplib.SMTP(server, port, timeout=tout)
self.server = smtplib.SMTP_SSL(server, port, timeout=tout)
in the file mailmerge.py the connection work fine.
Is it possible to change this file (mailmerge.py) to supports connections of type: SMTP and SMTP over SSL on port 465.
Created attachment 124440 [details]
mailmerge.py to support:
Smtp over SSL on port 465
Smtp over TLS on port 587
Hi, I can confirm the patch solved the issue of not being able to send e-mails via SMTP_SSL. However, it still lasts a considerable amount of time before the mails are actually sent. Maybe some routine in the Python script that times out before message handling starts?
I don't know if the problem can still be reproduced with last stable LO version 5.2.4 but if you got some solution, you can contribute by taking a look here:
Meanwhile, let's put this one to NEW since cpohle confirms there's a pb without the patch.
I've just noticed it's a dup of tdf#63388
*** This bug has been marked as a duplicate of bug 63388 ***
The patch work fine for me, but need some Google Mail Account setting requirement:
You must enable less secured application. Needed but apparently the connection is under SSL...
Such an informative blog. The writer ahs enough knowledge to share it with us. I am highly sataisfied with the content they share with us.But here you can visit https://www.bestbritishwriter.com/essayontime-co-uk-review/ to manage the task. there you get a broad minded ideas and blogs Keep sharing such kind of technical information with us.