As long as it's not required by dots, "@" or other specific chars in the real name (see RFC xxxx), Mozilla produces a From: header like this:
From: Real Name local.part@do.main
The lazy folks at MS (e.g. Outlook) do always include the header in quote chars like this, no matter what:
From: "Real Name" local.part@do.main
When replying to a mail, Roundcube 0.7.2 strips the real name in the To: header, if it is enclosed in quote chars. But why...?
If it's not enclosed in quote chars, it does NOT strip the real name in the To: header.
Michael Heydekamp Co-Admin freexp.de Düsseldorf/Germany
On 25.04.2012 01:16, Michael Heydekamp wrote:
From: "Real Name" local.part@do.main
When replying to a mail, Roundcube 0.7.2 strips the real name in the To: header, if it is enclosed in quote chars. But why...?
If it's not enclosed in quote chars, it does NOT strip the real name in the To: header.
Exactly in which place it happens? Provide message source. Because this can be also an IMAP server issue, provide imap_debug log. It works for me and we have even a test case in tests/maildecode.php which proves it works.
Am 25.04.2012 08:19, schrieb A.L.E.C:
On 25.04.2012 01:16, Michael Heydekamp wrote:
From: "Real Name" local.part@do.main
When replying to a mail, Roundcube 0.7.2 strips the real name in the To: header, if it is enclosed in quote chars. But why...?
If it's not enclosed in quote chars, it does NOT strip the real name in the To: header.
Exactly in which place it happens?
Well, when I reply to a mail. The To: field of the reply doesn't include the real name, if the real name in the From: header of the message I'm replying to was enclosed in quote chars.
Provide message source. Because this can be also an IMAP server issue, provide imap_debug log. It works for me and we have even a test case in tests/maildecode.php which proves it works.
It may indeed be an IMAP issue, as Squirrel shows exactly the same behaviour, as I just realized. And it's pretty unlikely that both apps are suffering from the same "bug".
So thanks for the hint! We'll try to track it down at our end first.
If you've got an idea where we could look at, please let me know.
BTW: There seems to be a minor issue with unfolding of the subject header, as I'm just realizing with the subject header of this thread (09d is not being replaced with 20d upon unfolding/quoting, which leads to a somewhat irritating display of the subject in the reply message), but that's a different thing.
On 25.04.2012 23:53, Michael Heydekamp wrote:
So thanks for the hint! We'll try to track it down at our end first.
If you've got an idea where we could look at, please let me know.
Enable imap_debug in Roundcube and check IMAP responses for FETCH command.