Steps to reproduce
- Upgrade Nextcloud Mail from 5.7.x to 5.8.0
- Configure a mail account with a Cyrillic display name, for example:
Иванов Иван Иванович ivanov@company.ru
- Compose and send an email
- Sending fails with:
Horde_Mime_Exception: Address is missing domain.
- Change the sender display name to Latin characters or to the email address itself
- Sending works correctly
Expected behavior
Emails should be sent successfully regardless of whether the sender display name contains non-ASCII characters (UTF-8/Cyrillic).
Properly MIME-encoded From headers should be accepted and processed correctly by the Mail app and Horde transport layer.
Actual behavior
Sending fails when the sender display name contains Cyrillic characters.
Nextcloud logs:
Horde_Mime_Exception: Address is missing domain.
The generated From header is MIME-encoded correctly:
From: =?utf-8?b?0JjQstCw0L3QvtCyINCY0LLQsNC9INCY0LLQsNC90L7QstC40Yc=?= ivanov@company.ru
However, Mail/Horde appears to re-parse the already encoded header incorrectly during sending, causing the encoded display name to be interpreted as an invalid email address without a domain.
Using only Latin characters in the sender display name avoids the issue.
Mail app version
No response
Nextcloud version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
No response
Steps to reproduce
Иванов Иван Иванович ivanov@company.ru
Horde_Mime_Exception: Address is missing domain.
Expected behavior
Emails should be sent successfully regardless of whether the sender display name contains non-ASCII characters (UTF-8/Cyrillic).
Properly MIME-encoded From headers should be accepted and processed correctly by the Mail app and Horde transport layer.
Actual behavior
Sending fails when the sender display name contains Cyrillic characters.
Nextcloud logs:
Horde_Mime_Exception: Address is missing domain.
The generated From header is MIME-encoded correctly:
From: =?utf-8?b?0JjQstCw0L3QvtCyINCY0LLQsNC9INCY0LLQsNC90L7QstC40Yc=?= ivanov@company.ru
However, Mail/Horde appears to re-parse the already encoded header incorrectly during sending, causing the encoded display name to be interpreted as an invalid email address without a domain.
Using only Latin characters in the sender display name avoids the issue.
Mail app version
No response
Nextcloud version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
No response