When sending an e-mail, is there anything in the sending/receiving protocols that guarantees, or is supposed to guarantee, that anyone receiving the e-mail will see the lists of recipients in the To and Cc fields in the same order as how the sender inputs them? This is quite a simple and basic question, really, but seemingly impossible to find an answer to on Google, which only wants to lecture me on the workplace etiquette of the order in which you should CC your bosses.
This old question mentions that the same e-mail can show recipients in different orders on different clients, which could indicate that there is nothing in the various e-mail protocols meant to guarantee that the original ordering is maintained everywhere (and, thus, that it doesn’t matter what order you CC your bosses, because you can’t control what order they see it anyway) – or it could just be a software bug in an e-mail client.
So what do the actual protocols and standards say (in reasonably human-friendly terms, please)? Are mail clients free to present recipients (as well as CC-recipients) in any order they fancy, or are they supposed to take the order the sender types them in as law and stick to that?
Update
As Tonny and R.. Github point out in their answers, the actual SMTP protocol is of course just that – a protocol to transfer information. As such, it doesn’t really care about the contents of the data it transfers, just like HTTP doesn’t care about the HTML contents it’s transferring. So the answer to whether the actual protocol itself guarantees anything is clearly no.
In the parallel(ish) case of HTTP and HTML, there is another layer to the whole transfer, separate from the HTTP protocol itself: W3C standards that dictate how a user agent (= browser) must present the actual contents to the user; UAs not conforming to these are non-compliant. Even in these standards, though, some things are left entirely up to UAs, and there is no guarantee that a particular something is presented in a particular way.
When referring to ‘protocols’ above, my intention was to also include standards like these – anything that governs what happens between the sender hitting ‘Send’ in their MUA and a recipient seeing the e-mail in their MUA.
As anyone who’s ever dabbled with HTML e-mail knows, such standards clearly do not exist for e-mail message body content (or if they do, they are utterly flouted by MUAs). But recipients are not part of the actual body of the message, so their presentation to the user could well be governed by entirely different standards.
So beyond just the actual SMTP protocol itself, what I am really wondering is whether there are any standards/stipulations at all that govern how recipients are treated and presented by MUAs to the user. That is:
- Is the sending MUA free to reorder the content shown in the
To:andCC:fields in the UI before generating headers and initiating the SMTP connection? - Is the receiving MUA free to generate the list of (CC-)recipients for the UI any way it pleases, and order it any way it wants to?
- Or is there some sort of ‘law’ that stipulates that MUAs are not free to do this in order to maintain compliance?