E-mail address
Encyclopedia
|
| Tutorials | Encyclopedia | Dictionary | Directory |
|
E-mail address
An e-mail address identifies a location to which e-mail messages can be delivered. An e-mail address on the modern Internet looks like, for example, jsmith@example.com and is usually read as "jsmith at example dot com". Many earlier e-mail systems had different formats for e-mail addresses and because modern e-mail systems are partially based on, and compatible with these older systems, the exact format of an e-mail address is complicated and frequently misunderstood.
OverviewMost e-mail on the internet uses the Simple Mail Transfer Protocol (SMTP), which is defined in the internet standards RFC 2821 and RFC 2822. E-mail addresses, such as jsmith@example.com, have two parts. The part before the @ sign is the local-part of the address, often the username of the recipient, and the part after the @ sign is the domain which is a hostname where the e-mail will be sent. Roughly speaking, the hostname is looked up in the Domain Name System to find the mail transfer agent or Mail eXchangers (MXs) accepting e-mail for that address. The domain may have semantic meaning for any mail-system handling the address; the meaning is well-defined and changes to meaning involve changing every mail-server in existence. The local-part, by contrast, is supposed to be opaque to every mail-system except the system which is authoritative for the domain. This is what makes e-mail a federated system. When a host receives an e-mail, it will be delivered to an e-mail mailbox. Some hosts allow more than one e-mail address to be sent to the same mailbox via an e-mail alias or even allow a catch-all address where the local-part can be undefined and e-mail would be delivered to a configured and existing e-mail address. Often, the domain of an e-mail address is that of an e-mail service, such as Google's Gmail, Microsoft's Hotmail, etc. The domain can also be the domain name of the organization that the recipient represents, or of the recipient's personal site. Addresses found in the header fields of e-mail should not be considered authoritative, because SMTP has no generally-required mechanisms for authentication. Forged e-mail addresses are often seen in spam, phishing, and many other internet-based scams; this has led to several initiatives which aim to make such forgeries easier to spot. To indicate who the message is intended for, a user can use the "display name" of the recipient followed by the address specification surrounded by angled brackets, for example: Earlier forms of e-mail addresses included the somewhat verbose notation required by X.400, and the UUCP "bang path" notation, in which the address was given in the form of a sequence of computers through which the message should be relayed. This was widely used for several years, but was superseded by the generally more convenient SMTP form. RFC specificationE-mail addresses are formally defined in RFC 2822 (mostly section 3.4.1) and to a lesser degree RFC 2821. An e-mail address is a string of a subset of ASCII characters separated into 2 parts by an "@" (at sign), a "local-part" and a domain, that is, The "local-part" of an e-mail address can be up to 64 characters (however servers are encouraged to not limit themselves to accepting only 64 characters) and the domain name a maximum of 255 characters. The local-part of the e-mail address may use any of these ASCII characters:
Additionally, quoted-strings (ie: The local-part is case sensitive, so "jsmith@example.com" and "JSmith@example.com" may be delivered to different people. This practice is, however, discouraged by RFC 2821. However, only the authoritative mail-servers for a domain may make that decision. Notwithstanding the addresses permitted by these standards, some systems impose more restrictions on e-mail addresses, both in e-mail addresses created on the system and in e-mail addresses to which messages can be sent. Hotmail, for example, only allows creation of e-mail addresses using alphanumerics, dot ( The informational RFC 3696 written by the author of RFC 2821 explains the details in a readable way, with a few minor errors noted in the 3696 errata. Email Address InternationalizationEmail Address Internationalization is an IETF working group devoted to internationalization issues in email addresses[2]. The only published RFC to date is RFC 4952, envisioning changes to the mail header environment to permit the full range of Unicode characters and an SMTP Extension to permit UTF-8 mail addressing, among other things. The list of valid examples below is thus expected to undergo significant additions. RFC examplesRFC Valid e-mail addresses
RFC invalid e-mail addresses
Sub-addressing (aka plus-addressing, minus-addressing)According to RFC 2821 2.3.10 Mailbox and Address, "...the local-part MUST be interpreted and assigned semantics only by the host specified in the domain part of the address.". Plus addressing is one of the benefits of this limitation. Some mail services allow a user to append a +tag qualifier to their e-mail address (e.g., joeuser+tag@example.com). The text of tag can be used to apply filtering. Some systems violate RFC 2822, and the recommendations in RFC 3696, by refusing to send mail addressed to a user on another system merely because the local-part of the address contains the plus sign (+). Users of these systems cannot use plus addressing. On the other hand, most qmail installations support the use of a dash '-' as a separator within the local-part, such as joeuser-tag@example.com or joeuser-tag-sub-anything-else@example.com. This allows qmail through .qmail-default or .qmail-tag-sub-anything-else files to sort, filter, forward, or run application based on the tagging system established. Disposable e-mail addresses of this form, using various separators between the base name and tag are supported by several e-mail services, including Runbox (plus and minus), Google Mail (plus), Yahoo! Mail Plus (minus)[3], and FastMail (plus)[4]. The name sub-addressing is the generic name, used in more modern IETF standards-track documents, such as RFC 5233. Local-part normalizationAny mail-domain is free to ascribe any meaning to the local-parts within that domain. Sub-addressing is fairly common, case-insensitivity is extremely common (but not universal). Another fairly unusual example of normalizing a local-part to an account-name is provided by Google Mail, which ignores all dots in the local-part for the purposes of determining account identity. See the first item in the help-center article. So if one person creates the account In short, a remote mail-server or administrator can make no assumptions about the meaning of another site's local-parts, but a given site is has complete authority to do as they think best within their own domain. ValidationIt's easy to forget that e-mail addresses aren't only used on a mail client or mail server, often e-mail addresses are seen to be used outside of this system. Thus, when using an e-mail address in another system (such as a website), the user data (entered via an online form) must be validated. An e-mail address is generally recognised as being two parts separated by the at-sign, this in itself is a basic form of validation. However, the technical specification detailed in RFC 822, RFC 2822, RFC 3696 goes far beyond this, offering very complex and strict restrictions. [5] Trying to match these restrictions is an extremely difficult and complex task[6], often resulting in a regular expression that is too long to actually be practical.[7] Practicality plays a major role once you discover that many mail servers have very relaxed validation, that allow and handle e-mail addresses that are disallowed according to the RFC. Because of this, we are forced to take a different approach, adopting relaxed validation and instead verifying the e-mail address and its various parts against the relevant systems (such as DNS for the domain part). References
Footnotes
See alsocs:E-mailová adresa da:E-mail-adresse de:E-Mail-Adresse eo:Retadreso fr:Adresse électronique id:Alamat surat elektronik lv:E-pasta adrese ja:??????? pl:Adres e-mail ru:????? ??????????? ????? sk:Elektronická adresa wo:Màkkaanub mbëjfeppal Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article
|
|
top
©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement