unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Barak A. Pearlmutter" <barak@pearlmutter.net>
To: rms@gnu.org
Cc: 22014@debbugs.gnu.org
Subject: bug#22014: 24.4; RFC 5322 Disallows Multiple 'To' Fields in Mail Headers
Date: Thu, 26 Nov 2015 19:31:57 +0000	[thread overview]
Message-ID: <CANa01BJaDTG-v0+EW6gLnxU9ckhZTBnLuhCtjd5QfzJa4qhw7Q@mail.gmail.com> (raw)
In-Reply-To: <E1a1xoe-00069k-3C@fencepost.gnu.org>

> What year did they do that?  I suspect they changed the spec subsequently
> to our implementing it.

RFC 822 dated Aug 1982 is silent on the issue. It does use grammatical
constructs that seem inappropriate if there are multiple instances:

>     4.5.1. TO / RESENT-TO
>
>        This field contains the identity of the primary recipients  of
>        the message.

The formal grammar given does allow multiple 'To's, but also allows
all sorts of crazy things, some of which are disallowed in the text. I
think a fair reading is that the authors did not entertain this
possibility.

RFC 2822 dated April 2001 says maximum of one each of 'To', 'Cc', 'Bcc'.

RFC 5322 dated Oct 2008, mentioned above, copies the table of interest
from RFC 2822.

--Barak.





      parent reply	other threads:[~2015-11-26 19:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-25 21:07 bug#22014: 24.4; RFC 5322 Disallows Multiple 'To' Fields in Mail Headers Barak A. Pearlmutter
2015-11-26 14:46 ` Richard Stallman
2015-11-26 16:49   ` Barak A. Pearlmutter
2017-11-29  2:07     ` Noam Postavsky
2015-11-26 19:31   ` Barak A. Pearlmutter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANa01BJaDTG-v0+EW6gLnxU9ckhZTBnLuhCtjd5QfzJa4qhw7Q@mail.gmail.com \
    --to=barak@pearlmutter.net \
    --cc=22014@debbugs.gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).