https://bugs.documentfoundation.org/show_bug.cgi?id=116234

            Bug ID: 116234
           Summary: If you enter email settings during the mailing
                    process, the sending will fail
           Product: LibreOffice
           Version: 5.1.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: todven...@suomi24.fi
            Blocks: 102998

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


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102998
[Bug 102998] [META] Mail merge bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to