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)

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_Office_Mail_Merge_Settings.png

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

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

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

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.

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.