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

            Bug ID: 170450
           Summary: Crash during mail merge via email
           Product: LibreOffice
           Version: 25.2.7.2 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

When sending serial letters via email, sending to multiple email addresses
(separated by ‘;’) does not work.

Apart from that, I get the following error if the individual email address in
the underlying Calc file is formatted as a hyperlink. The specific error
message is:

<class 'email.errors.HeaderWriteError'>: folded header contains newline: 'To:
\n@#.com\n', traceback follows
  File "C:\Program Files\LibreOffice\program\mailmerge.py", line 335, in
sendMailMessage
    self.server.sendmail(sendermail, truerecipients, msg.as_string())
  File "C:\Program
Files\LibreOffice\program\python-core-3.10.19\lib\email\message.py", line 158,
in as_string
    g.flatten(self, unixfrom=unixfrom)
  File "C:\Program
Files\LibreOffice\program\python-core-3.10.19\lib\email\generator.py", line
118, in flatten
    self._write(msg)
  File "C:\Program
Files\LibreOffice\program\python-core-3.10.19\lib\email\generator.py", line
201, in _write
    self._write_headers(msg)
  File "C:\Program
Files\LibreOffice\program\python-core-3.10.19\lib\email\generator.py", line
235, in _write_headers
    raise HeaderWriteError(

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to