enriched text

{{Short description|Formatted text format for e-mail}}

{{Redirect|Richtext|the document file format developed by Microsoft|Rich Text Format}}

{{Infobox file format

| name = Enriched text

| icon =

| extension =

| mime = text/enriched

| type code =

| uniform type =

| magic =

| owner =

| genre = Formatted text format

| container for =

| contained by =

| extended from =

| extended to =

| standard = RFC 1896

}}

Enriched text is a formatted text format for email, defined by the IETF in RFC 1896 and associated with the text/enriched MIME type which is defined in RFC 1563.

Format

It is "intended to facilitate the wider interoperation of simple enriched text across a wide variety of hardware and software platforms". As of 2012, enriched text remained almost unknown in email traffic, while HTML email is widely used.{{Citation needed|date=April 2010}} Enriched text, or at least the subset of HTML that can be transformed into enriched text, is seen as preferable to full HTML for use with email (mainly because of security considerations).{{Cite web|url=http://www.avernus.com/~gadams/essays/20020418-html-mail.html|title=Why HTML is Inappropriate for E-Mail|website=www.avernus.com}}{{Cite web|title=EFAIL|url=https://efail.de/|access-date=2021-01-05|website=efail.de}}

A predecessor of this MIME type was called text/richtext in RFC 1341 and RFC 1521. Neither should be confused with Rich Text Format (RTF, MIME type text/rtf or application/rtf) which are unrelated specifications, devised by Microsoft.

A single newline in enriched text is treated as a space. Formatting commands are in the same style as SGML and HTML. They must be balanced and nested.

Enriched text is a supported format of Emacs,{{Cite web|url=https://www.gnu.org/software/emacs/manual/html_node/emacs/Enriched-Text.html|title=gnu.org|website=www.gnu.org}} Mutt,{{Cite web |url=http://www.mutt.org/doc/manual/manual-5.html |title=The Mutt E-Mail Client: Mutt's MIME Support |access-date=2013-02-26 |archive-url=https://web.archive.org/web/20130308123315/http://www.mutt.org/doc/manual/manual-5.html |archive-date=2013-03-08 |url-status=dead }} Mulberry and Netscape Communicator.

Examples

Code

!Output

Hello, world!

|Hello, world!

redBlood is thicker than

bluewater.

left-- Well-known proverb

|Blood is thicker than water.

:-- Well-known proverb

References

{{reflist}}