Ask Your Question
0

Why does LO Writer tell me that the Test Account Settings is successful, Connection to Outgoing Mail server was established, & 2 of 2 emails sent - but then says emails not sent: 2 (sending failed)

asked 2016-03-18 08:18:49 +0100

Randy_1811 gravatar image

updated 2016-03-18 17:34:10 +0100

hi everyone.

i carefully followed the instructions detailed here and was ecstatic that it was successful when i tested the connection. but when i tried to send the mail merged docs as email, i got the error message below.

what could be causing this?

my specs:

  • Windows 7 Professional, 64 bit,
  • LibreOffice Version: 5.1.0.3,
  • firewall is disabled,
  • antivirus is disabled,

thanks in advance.

-- Randy

fig. 1 - successful setup http://s8.postimg.org/z9912uzlx/Libre...

fig. 2 - sending failed http://s8.postimg.org/a9lrz47gl/conne...

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-08-23 14:38:30 +0100

TangoMango gravatar image

Hi. I got similar errors, although not the same with LO 5.2.6.2 under Win7 : I cannot set the SMTP server connexion. When testing the connexion, it takes ages (>10 mn) and in the end I have the following error message :

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, traceback follows C:\Program Files (x86)\LibreOffice 5\program\python-core-3.3.0\lib\smtplib.py:375 in function getreply() [raise SMTPServerDisconnected("Connection unexpectedly closed")] C:\Program Files (x86)\LibreOffice 5\program\python-core-3.3.0\lib\smtplib.py:322 in function connect() [(code, msg) = self.getreply()] C:\Program Files (x86)\LibreOffice 5\program\python-core-3.3.0\lib\smtplib.py:241 in function __init__() [(code, msg) = self.connect(host, port)] C:\Program Files (x86)\LibreOffice 5\program\mailmerge.py:106 in function connect() [self.server = smtplib.SMTP(server, port,timeout=tout)]

I am pretty sure the parameters I use are correct since they come from my Thunderbird settings. The only parameter I doubt is the SSL connexion, as I don't know if that means it is SSL/TLS or STARTTLS, since I need to use different ports.

I also can't set the connexion with LO 5.4.03 under Linux Mint 17.3 Cinnamon, although I don't get an error message at all.

edit flag offensive delete link more

Comments

Hi. I believe I found what was wrong : the port number. For my SMTP server, the port number for SSL/TLS is 465 and the one for STARTTLS is 587. It turned out that I ought to enter port 587 and not 465.

TangoMango gravatar imageTangoMango ( 2017-08-23 15:12:53 +0100 )edit
0

answered 2017-02-21 15:32:34 +0100

kirsch gravatar image

Same problem today LibreOffice Version: 5.1.6.2 (on Windows 10 home, 64bits)

No mail sent ! is that a known issue ? How did you solve the problem Randy ?

I used mailing in the past on LibreOffice and it worked fine. Now I test the sending parameters and it says

  • connection OK
  • server OK

but no mail is sent and it says

  • ERROR :

class 'smtplib.SMTPServerDisconnected'>: please run connect() first, traceback follows

C:\Program Files\LibreOffice 5\program\python-core-3.3.0\lib\smtplib.py:340 in function send() [raise SMTPServerDisconnected('please run connect() first')].... and so on.

I tested different sender accouts and I do not know what to do to "run connect first". Do I have to come back to a previous version of LibreOffice ?

Thanks for advice. Bob

edit flag offensive delete link more

Comments

T found out that the sending parameters have to be set from the main menu (while Writer is runing) Tools-> Options-> LibreOffice Writer-> E-mail mailing Defining these parameters inside the mailing procedure in Writer will test the server OK but will not send the mails ! Looks like a bug in LibO

kirsch gravatar imagekirsch ( 2017-02-24 11:46:55 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-03-18 08:18:49 +0100

Seen: 218 times

Last updated: Aug 23 '17