if you set up an account which has the following from name: henrik:gemal and send a mail the From header then looks something like this when you recieve a mail: From: email@example.com:gemal <firstname.lastname@example.org> somehow the SMTP server is inserted into the from header! 20030310
it's something that the SMTP server inserts. Should we encode the : ?
Outlook Express doesn't have this problem since it puts the names inside quotes: From: "henrik:gemal" <email@example.com> while Mozilla produces this header: From: henrik:gemal <firstname.lastname@example.org>
Reading RFC822 I think having an colon in an fromname is illegal. Mozilla should quote the name if the Fromname as a colon!
This is also true for the "To/Cc" headers if the colon ispresent in Address Book's name field.
(In reply to comment #3) > Reading RFC822 I think having an colon in an fromname is illegal. Not exactly. A colon in the name should be parsed as the beginning of an RFC822 group. With: henrik:gemal <email@example.com> "henrik" would be the group name and "gemal <firstname.lastname@example.org>" would be the first address in the group. This address would still be illegally formed, however, since the group (which may include several comma-separated addresses) is supposed to end with a semicolon. Note that Mozilla does not parse the groups syntax correctly even when well- formed; see bug 83521, bug 110605. > Mozilla should quote the name if the Fromname as a colon! Since the colon is legal RFC822 syntax, you should be responsible for quoting it yourself, just as if you wanted the name to include an @ sign: "henrik@gemal" <email@example.com>
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
*** Bug 324444 has been marked as a duplicate of this bug. ***
*** Bug 362581 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.