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

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Mail Merge: Sending dumps   |Mail Merge:
                   |for Domains with Umlaut     |UnicodeEncodeError for
                   |                            |Domains with Umlaut
             Status|UNCONFIRMED                 |NEW
             Blocks|                            |102998
                 CC|                            |stephane.guillou@libreoffic
                   |                            |e.org
     Ever confirmed|0                           |1

--- Comment #1 from Stéphane Guillou (stragu) 
<[email protected]> ---
Thank you, Axel.

I can reproduce with:

Version: 7.4.5.1 / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I also get the "Emails could not be sent" error dialog with:

<class 'UnicodeEncodeError'>: 'ascii' codec can't encode character '\xfc' in
position 22: ordinal not in range(128), traceback follows
  File "/opt/libreoffice7.4/program/mailmerge.py", line 262, in sendMailMessage
    self.server.sendmail(sendermail, truerecipients, msg.as_string())
  File "/opt/libreoffice7.4/program/python-core-3.8.16/lib/smtplib.py", line
890, in sendmail
    (code, resp) = self.rcpt(each, rcpt_options)
  File "/opt/libreoffice7.4/program/python-core-3.8.16/lib/smtplib.py", line
551, in rcpt
    self.putcmd("rcpt", "TO:%s%s" % (quoteaddr(recip), optionlist))
  File "/opt/libreoffice7.4/program/python-core-3.8.16/lib/smtplib.py", line
376, in putcmd
    self.send(f'{s}{CRLF}')
  File "/opt/libreoffice7.4/program/python-core-3.8.16/lib/smtplib.py", line
355, in send
    s = s.encode(self.command_encoding)

Example of host allowing umlauts in domain names:
https://www.ionos.com/help/domains/glossary-important-terms-and-topics-explained/umlaut-domains/


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.

Reply via email to