GNU bug report logs - #22014
24.4; RFC 5322 Disallows Multiple 'To' Fields in Mail Headers

Previous Next

Package: emacs;

Reported by: "Barak A. Pearlmutter" <barak <at> pearlmutter.net>

Date: Wed, 25 Nov 2015 22:04:01 UTC

Severity: normal

Tags: fixed

Found in version 24.4

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Barak A. Pearlmutter" <barak <at> pearlmutter.net>
To: rms <at> gnu.org
Cc: 22014 <at> 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
> 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.




This bug report was last modified 7 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.