I ran into this while testing a bug and found this: https://ask.libreoffice.org/en/question/88245/e-mailing-connection-ok-server-ok-no-mail-sent/?answer=88352#post-id-88352 "You need to set the outgoing server parameters in the menu Tools → Options → LibreOffice Writer → Mailing Email If the parameters are set during the Mailing procedure in Writer, the parameter tests Connection & Server are OK but the mailing fails with the message "please run connect() first"!" So this means the settings entered after trying to email and getting this dialog: "In order to be able to send mail merge documents by e-mail, LibreOfficeDev requires information about the e-mail account to be used. Do you want to enter e-mail account information now?" Here is the whole error: <class 'smtplib.SMTPServerDisconnected'>: please run connect() first, traceback follows File "/home/user/libreoffice/instdir/program/mailmerge.py", line 288, in sendMailMessage self.server.sendmail(sendermail, truerecipients, msg.as_string()) File "/usr/lib/python3.6/smtplib.py", line 852, in sendmail self.ehlo_or_helo_if_needed() File "/usr/lib/python3.6/smtplib.py", line 600, in ehlo_or_helo_if_needed if not (200 <= self.ehlo()[0] <= 299): File "/usr/lib/python3.6/smtplib.py", line 440, in ehlo self.putcmd(self.ehlo_msg, name or self.local_hostname) File "/usr/lib/python3.6/smtplib.py", line 367, in putcmd self.send(str) File "/usr/lib/python3.6/smtplib.py", line 359, in send raise SMTPServerDisconnected('please run connect() first') Arch Linux 64-bit Version: 6.1.0.0.alpha0+ Build ID: 13164cc99dc6184fb2c12e56e9c0dea0d5692eec CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on March 4th 2018
Confirmed in Version: 6.1.0.0.alpha0+ Build ID: 2affed9bfd72628549df3049ed9f6e6a30fdb5b8 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group
Even if you set the outgoing server parameters in the menu Tools → Options → LibreOffice Writer → Mailing Email, the mailing keeps asking the parameters of the SMTP server during the mailing procedure and fails as described. One has to quit LibreOffice and reopen the document. I did and the mailing succeeded.
(In reply to Dominique Meeùs from comment #2) > Even if you set the outgoing server parameters in the menu Tools → Options → > LibreOffice Writer → Mailing Email, the mailing keeps asking the parameters > of the SMTP server during the mailing procedure and fails as described. > One has to quit LibreOffice and reopen the document. I did and the mailing > succeeded. Forgot to add: Version: 6.0.3.2 Build ID: 1:6.0.3-0ubuntu1 Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; Locale : fr-BE (fr_BE.UTF-8); Calc: group
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still reproducible with Version: 6.4.0.0.alpha0+ Build ID: 7fe64353dc9950e19182a59a486a1ecac27cf98e CPU threads: 64; OS: Linux 4.9; UI render: default; VCL: kf5; Locale: en-GB (en_GB.UTF-8); UI-Language: en-US Calc: threaded I've analysed this a bit and plan to submit a patch sometime soon (maybe next week).
Patch in Gerrit: https://gerrit.libreoffice.org/#/c/79847/
Michael Weghorn committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a1573b2e2fda77b7b7d605fe36f5a28f86a3e91b tdf#116234 Apply email settings just set It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed on master; backport for 6.3: https://gerrit.libreoffice.org/#/c/79907/
Michael Weghorn committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/commit/06831200607932a787430d6ea2c6860b26e4f3e1 tdf#116234 Apply email settings just set It will be available in 6.3.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thanks a lot, I was able to enter email settings during the process and the mail went through! Arch Linux 64-bit Version: 6.4.0.0.alpha0+ Build ID: cb5eaa791739865d54b381c16c60224c432171dc CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5; Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US Calc: threaded Built on 2 October 2019