unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22014: 24.4; RFC 5322 Disallows Multiple 'To' Fields in Mail Headers
@ 2015-11-25 21:07 Barak A. Pearlmutter
  2015-11-26 14:46 ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Barak A. Pearlmutter @ 2015-11-25 21:07 UTC (permalink / raw)
  To: 22014

According to the info page on mail headers,
http://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Headers.html

  The ‘To’, ‘CC’, and ‘BCC’ fields can appear any number of times ...

This is in contravention to RFC 5322, the current standard for mail
headers.  See the "Max Number" column of the "to" row in the table on
page 20 (sec 3.6), https://tools.ietf.org/html/rfc5322 which reads "1",
and not just for "to" but also in the "cc" and "bcc" rows.

Some smtp servers---the one @pearlmutter.net's mx in particular as it
happens---check for this and reject messages with multiple 'To' fields
in the header.  I personally would urge the authors of such servers to
reconsider this decision.  On the other hand, it would be nice if Emacs
tried to be conformant in this regard, by detecting and consolidating
multiple To:, CC:, or BCC: fields.  Emacs already scans these while
constructing the recipients list, so the extra logic would be minimal.
Or just (yes-or-no-p "Multiple To, CC or BCC fields, abort ") to let the
user know that something on-standards-conformant is in the air.

					--Barak.
--
Barak A. Pearlmutter
 Dept Comp Sci, Maynooth University, Co. Kildare, Ireland
 http://barak.pearlmutter.net





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-29  2:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).