I’m on Windows 10, LO 5.4.1.2
I’m trying to do an email mail merge from writer but the test settings option always fails.
The mail settings I’m using are correct (servername, username & password) they are same as my email client
Error:
LibreOffice could not connect to the outgoing mail server. Check your system's settings and the settings in LibreOffice. Check the server name, the port and the secure connections settings
--
<class 'smtplib.SMTPServerDisconnected'>: Connection unexpectedly closed: [WinError 10054]
An existing connection was forcibly closed by the remote host, traceback follows
File "C:\Program Files (x86)\LibreOffice 5\program\mailmerge.py", line 107, in connect self.server = smtplib.SMTP(server, port,timeout=tout)
File "C:\Program Files (x86)\LibreOffice 5\program\python-core-3.5.0\lib\smtplib.py", line 251, in __init__
(code, msg) = self.connect(host, port)
File "C:\Program Files (x86)\LibreOffice 5\program\python-core-3.5.0\lib\smtplib.py", line 338, in connect
(code, msg) = self.getreply()
File "C:\Program Files (x86)\LibreOffice 5\program\python-core-3.5.0\lib\smtplib.py", line 391, in getreply
+ str(e))
When I try Port 587 as suggested by earlier threads I get:
LibreOffice could not connect to the outgoing mail server. Check your system’s settings and the settings in LibreOffice. Check the server name, the port and the secure connections settings
<class ‘RuntimeError’>: No SSL support included in this Python, traceback follows
File “C:\Program Files (x86)\LibreOffice 5\program\mailmerge.py”, line 121, in connect
self.server.starttls()
File “C:\Program Files (x86)\LibreOffice 5\program\python-core-3.5.0\lib\smtplib.py”, line 756, in starttls
raise RuntimeError(“No SSL support included in this Python”)