From: "Barak A. Pearlmutter" <barak@pearlmutter.net>
To: 22014@debbugs.gnu.org
Subject: bug#22014: 24.4; RFC 5322 Disallows Multiple 'To' Fields in Mail Headers
Date: Wed, 25 Nov 2015 21:07:38 +0000 [thread overview]
Message-ID: <878u5lvld1.fsf@dellarge.pearlmutter.net> (raw)
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
next reply other threads:[~2015-11-25 21:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 21:07 Barak A. Pearlmutter [this message]
2015-11-26 14:46 ` bug#22014: 24.4; RFC 5322 Disallows Multiple 'To' Fields in Mail Headers 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878u5lvld1.fsf@dellarge.pearlmutter.net \
--to=barak@pearlmutter.net \
--cc=22014@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.