To: field without e-mail address
-
benny
- State changed from new to reproduced
This is an interesting problem, but we need to get some facts straight:
- The reason it fails is that MailMate tries to use
“(Basketball Club)” as an argument to RCPT TO for the
SMTP server. This must be enclosed in
<>according to the standard. To avoid the error MailMate should simply not try to give it to RCPT TO at all. - The actual To header of the message is:
To: (Basketball) - The third “legal” form in your list is no longer legal according to standard (but still widely used).
- The older standards say that the
()part is a comment (which can occur in almost any header). It has no real meaning, but historically email clients have used it for the name of a recipient.
Now, I can understand why you would want
(Basketball)to appear in theToheader, but I don't like that it's not sanctioned by the standard. The correct way to do it is to use an empty named group like this:Basketball:;See the end of section 3.4 in RFC 5322.
I tried this and MailMate does send the message with a
Toheader like this:To: Basketball:;But there is also a display bug in MailMate with such group names. It is not displayed in the headers view. I'll consider that a reproducible bug. (Hopefully other email clients handle it better.)
-
David Morrison
Ah ok. It is many years since I was involved with this stuff, and memory is not so good. So a colon and semicolon is the way to do this now. Funnily-enough, I have seen that structure in Eudora going back nearly 20 years, but thought it was just something Eudora did for aliases that had multiple addresses.
I must try it with Outlook.
-
benny
- State changed from reproduced to fixcommitted
Now MailMate displays “Basketball” for a header like
"To: Basketball:;". This actually worked in earlier revisions of MailMate as well, but I broke it when trying to handle badly formatted addresses such as"Foo, Bar <foo@bar.com>". A book could be written about the edge-cases of recipient email headers...MailMate still does not handle group names well in general (non-empty group lists), but I suspect very few email clients do.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.