thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/mobile
Apache License 2.0
10.96k stars 2.51k forks source link

"<unknown sender>" when the sender name has a ":" #7752

Closed dddns closed 5 months ago

dddns commented 7 months ago

Checklist

App version

latest

Where did you get the app from?

None

Android version

10

Device model

samsung

Steps to reproduce

Howdy,

If the sender, has in it's client the name as "email: john" and send's an email to me, and i see it in K9, K9 translated the sendername to "unknown server", If you need any further indo let me know, i saved the messaged.

image

image

Expected behavior

Display name as it is

Actual behavior

wrong displayed information

Logs

sdfg

dddns commented 7 months ago

Hum, K9 is coding the header, the real, is indeed in quoted printable

From: =?utf-8?Q?Email:_Dire=C3=A7=C3=A3o?= direccao@-----.pt

cketti commented 7 months ago

This is an invalid encoding. The display name needs to be an RFC 5322 phrase. A : is only allowed in a quoted string or in encoded form in an RFC 2047 encoded word.

Did you use K-9 Mail to create this email? Or did some other email client create this header?

cketti commented 5 months ago

In my tests K-9 Mail encoded names containing : correctly.

Closing this issue because no further information was provided.