Email box

An email box (also email mailbox, e-mailbox) is the destination to which electronic mail messages are delivered. It is the equivalent of a letter box in the postal system.

Definitions

A mailbox is identified by an email address. However, not all email addresses correspond to a storage facility. The term pseudo-mailbox is sometimes used to refer to an address that does not correspond to a definitive mail store. Email forwarding may be applied to reach end recipients from such addresses. Electronic mailing lists and email aliases are typical examples.

RFC 5321,[1] defines an email address as a character string that identifies a user to whom mail will be sent or a location into which mail will be deposited. The term mailbox refers to that depository. In that sense, the terms mailbox and address can be used interchangeably.

RFC 5322 defines a mailbox as follows:[2] A mailbox receives mail. It is a 'conceptual entity' that does not necessarily pertain to file storage. It further exemplifies that some sites may choose to print mail on a printer and deliver the output to the addressee's desk, much like a traditional fax transmission.

Access

Main article: Email client

Access to a mailbox is controlled by a mailbox provider. Usually, anyone can send messages to a mailbox while only authenticated users can read or delete them. An email client retrieves messages from one or more mailboxes. The database (file, directory, storage system) in which the client stores the messages is called the local mailbox.

Popular protocols to retrieve messages are:

Web-based clients exist that retrieve messages from the server on behalf of the website user and display them to the user in a suitable format in a web browser.

  This document specifies the Internet Message Format (IMF), a syntax
  for text messages that are sent between computer users, within the
  framework of "electronic mail" messages.  This specification is a
  revision of Request For Comments (RFC) 2822, which itself superseded
  Request For Comments (RFC) 822, "Standard for the Format of ARPA
  Internet Text Messages", updating it to reflect current practice and
  incorporating incremental changes that were specified in other RFCs.

Storage format

Any kind of database can be used to store email messages. However, some standardization has resulted in several well-known file formats to allow access to a given mailbox by different computer programs. There are two kinds of widely used formats:

Mailbox names

Mailbox names are the first part of an email address, i.e. the local-part before the @ symbol. The format of email addresses is formally defined in RFC 5322 and RFC 5321. It is often the username of the recipient on the mail server or in the destination domain.

The local-part of an email address may be up to 64 characters long and is case-sensitive.

Valid characters

The local-part of the email address may use any of these ASCII characters:

Reserved names

The following names are sometimes reserved and used internally by various mail handling applications: cur, default, Discard, DRAFTS, INBOX, IMAP, Junk, Junkmail, mbox, mail.txt, new, SENT, SPAM, Spam, tmp, TRASH.

References

  1. RFC 5321, Simple Mail Transfer Protocol, J. Klensin, The Internet Society (October 2008), Section 2.3.11 (Mailbox and Address)
  2. RFC 5322, Internet Message Format, P. Resnick (Ed.), The Internet Society (October 2008), Section 3.4 (Address Specification)