Open Bug 147346 Opened 22 years ago Updated 2 years ago

comments in email address not supported

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(Not tracked)

People

(Reporter: zardoz, Unassigned)

References

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0rc1) Gecko/20020418
BuildID:    2002041818

Comments as described in RFC 2822 are handled incorrectly by Mozilla.

Reproducible: Always
Steps to Reproduce:
1. type an email address containing a comment, e.g.
  a) "mscott@netscape(tm).com"
  b) "Scott <mscott@netscape(tm).com>"
2. hit send

Actual Results:  either the comment is mixed up
a) To: tm <mscott@netscape.com>
   or the alias becomes broken
b) To: Scott <""mscott\"\"@netscape.com (tm)>


Expected Results:  According to RFC 2822 (former RFC 822), comments should be
ignored and the address passed to the MTA unchanged.

Bug creates legal issues according to U.S. law since e.g. a trademark in a
company's email address cannot be protected by the (tm) comment correctly.
Confirming that it happens.

pi <3.14(or more)@piology.org> becomes
"3.14(or more)" <"3.14(or more)"@piology.org>

pi <3.14@piology(TM).org> becomes
pi <""\"\"3.14\"\"@piology(TM).org>

The law thing is a nice joke:-))

pi
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: MailNews → Core
Simply typing in
(a comment) <user@domain.com>
is replaced with
"(a comment)" <user@domain.com>
which I don't think is correct either, my understanding is that the format is
"full name" <user@domain.com> (comment)
but it seems Mozilla thinks () should be escaped with quotes.
*** Bug 306183 has been marked as a duplicate of this bug. ***
This is a problem for identities set up with comments, also.  Per the dupe:

Steps to Reproduce:
1.set e-mail for news account for example "something(TRALALALA)@something.com"
2.set your name as "Joe"
3.when you post a message on the news server, the sender is diplayed [in the 
Sender column] as "TRALALALA"
3a. the header is shown in the envelope panel as:
   TRALALALA <"something(TRALALALA)"@something.com>
which matches the actual From: header.

xref bug 121834
Assignee: ducarroz → nobody
QA Contact: esther → composition
Product: Core → MailNews Core
Still repro.

Thunderbird 52.1.1 (32-bit)
Windows 7 64-bit

Still true in 78?

Component: Composition → Message Compose Window
Flags: needinfo?(thee.chicago.wolf)
Product: MailNews Core → Thunderbird

(In reply to Wayne Mery (:wsmwk) from comment #9)

Still true in 78?

True-ish if based on what I found in https://bugzilla.mozilla.org/show_bug.cgi?id=202333#c6 part 2. At least when typed in manually into the To: field.

I tried to copy and paste the email mscott@netscape(tm).com into a new message To: field and actually sent it.

I got a bounce back with:

"Address not found
Your message wasn't delivered to mscott@netscape.com because the address couldn't be found, or is unable to receive mail.
The response from the remote server was:

554 delivery error: dd Not a valid recipient - atlas211.aol.mail.gq1.yahoo.com"

So, for all intents and purposes, it seems to correctly strip out the (tm). (tm) should never be allowed in a valid email.

Flags: needinfo?(thee.chicago.wolf)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.