Bug 165039 - Mailmerge: Email not sent
Summary: Mailmerge: Email not sent
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-04 14:23 UTC by Axel Braun
Modified: 2026-02-05 10:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
example .ods (11.09 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-02-04 14:23 UTC, Axel Braun
Details
example .odt (9.84 KB, application/vnd.oasis.opendocument.text)
2025-02-04 14:23 UTC, Axel Braun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2025-02-04 14:23:05 UTC
Created attachment 198971 [details]
example .ods

Created a new testcase for a mass mailing:
.ods with 3 mail addresses
.odt with letter

smtp.gmx.net is configured and working

when sending the 'mass mailing' a window quickly pops up saying something like '3 of 3 addresses processed'
then the sending window comes up ' 0 of 0 documents processed'.
Nothing sent!

find examples attached

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 12; OS: Linux 6.13; UI render: default; VCL: kf6 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 1 Axel Braun 2025-02-04 14:23:56 UTC
Created attachment 198972 [details]
example .odt
Comment 2 Buovjaga 2026-02-04 19:13:45 UTC
Do you still reproduce with 25.8 or 26.2?
Comment 3 Axel Braun 2026-02-05 07:53:03 UTC
I'm currently in Africa and have a very bad net. will come back on this
Comment 4 Axel Braun 2026-02-05 10:46:31 UTC
At the moment - still in Africa - I have the problem that LO cant connect to the SMTP server:

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 'socket.gaierror'>: [Errno -2] Name or service not known, traceback follows
  File "/usr/lib64/libreoffice/program/mailmerge.py", line 151, in connect
    self.server = smtplib.SMTP(server, port, timeout=tout)
                  ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/smtplib.py", line 264, in __init__
    (code, msg) = self.connect(host, port)
                  ~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib64/python3.13/smtplib.py", line 350, in connect
    self.sock = self._get_socket(host, port, self.timeout)
                ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/smtplib.py", line 321, in _get_socket
    return socket.create_connection((host, port), timeout,
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
                                    self.source_address)
                                    ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/socket.py", line 840, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
               ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/socket.py", line 977, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

On the other hand, I can ping the smtp-Server and send mails from the same machine. Can you comment?

Version: 25.8.3.2 (X86_64) / LibreOffice Community
Build ID: 580(Build:2)
CPU threads: 22; OS: Linux 6.18; UI render: default; VCL: kf6 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Operating System: openSUSE Tumbleweed 20260203
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.2