Z-Push 2.4.5 final german umlauts problem

Hello Manfred,

I still have problems with German umlauts with Debian 9 and nginx. When I try to send an email to a contact with an umlaut in the name.

Emails to contacts without umlauts go without problems.

09/11/2018 08:04:20 [11139] [WARN] [nils.klingelhoefer@cleeberg.net] /etc/z-push/imap.conf.php:126 Constant IMAP_DEFAULTFROM already defined (8)
09/11/2018 08:04:21 [11139] [ERROR] [nils.klingelhoefer@cleeberg.net] z_RFC822 error: Validation failed for: Klingelhöfer
09/11/2018 08:04:21 [11139] [ERROR] [nils.klingelhoefer@cleeberg.net] z_RFC822 error: Validation failed for: Klingelhöfer
09/11/2018 08:04:21 [11139] [WARN] [nils.klingelhoefer@cleeberg.net] /usr/share/z-push/lib/utils/utils.php:1337 Invalid argument for foreach () (2)
09/11/2018 08:04:21 [11139] [ERROR] [nils.klingelhoefer@cleeberg.net] Mail <mail> error: mail () returned failure
09/11/2018 08:04:21 [11139] [INFO] [nils.klingelhoefer@cleeberg.net] StatusException: BackendIMAP-> sendMessage (): The email could not be sent - code: 120 - file: / usr / share / z-push / backend / imap / imap.php 2501
09/11/2018 08:04:21 [11139] [INFO] [nils.klingelhoefer@cleeberg.net] cmd = ‘SendMail’ memory = ‘2.01 MiB / 2.00 MiB’ time = ‘0.51s’ devType = ‘Android’ devId = ‘androidc751990622’ getUser='nils.klingelhoefer@cleeberg.net 'from = ‘80 .147.77.93’ idle = ‘0s’ version = ‘2.4.4 + 0-0’ method = ‘POST’ httpcode = ‘200’

Thank you for your great work
Nils

Hi Nils,

this validation error comes from a 3rd party library the IMAP backend uses. At the moment the easiest way for you to “fix” it would be to comment the line 209 in [z-push directory]/include/z_RFC822.php, so that it looks like this:

// return $this->raiseError($this->error);

Could you also post the full email address you’re trying to sent the email to?

Manfred

Hi Manfred,

name: Nils Klingelhöfer
email: nilsklingelhoefer@gmx.de

I will try to comment out the line and then get back to you.

Nils

Hi Manfred,

that was the solution. The emails can now be sent.

Thanks
Nils