mailto

mailto

The mailto URI scheme, as registered with the Internet Assigned Numbers Authority (IANA), defines the scheme for Simple Mail Transfer Protocol (SMTP) email addresses. Though its use is not strictly defined, URLs of this form are intended to be used to open the new message window of the user's email client when the URL is activated, with the address as defined by the URL in the "To:" field. [1][2]

Contents

Example

Using "mailto" within a HTML document to generate a link for sending email:

<a href="mailto:someone@example.com">Send email</a>

It is also possible to specify initial values for headers (e.g. subject, cc, etc.) and message body in the URL. Blanks, carriage, returns, and linefeeds cannot be embedded but must be encoded.

<a href="mailto:someone@example.com?cc=someone_else@example.com&subject=This%20is%20the%20subject&body=This%20is%20the%20body">Send email</a>

The complete set of values and syntax with examples are published on MAILTO where you can copy the relevant code examples and generate code for your website.

Functionality issues

Mailto clickable links do not always function correctly for the site visitor. The software mechanism activated by the link requires that a default email client be established on the computer. This must be a local program, typically using the SMTP protocol to send outbound mail. With the rise in use of webmail-based email, many computers lack local email client software. Alternatively, email client software may have been preinstalled by the computer vendor, but never used or configured. When such a visitor clicks on a mailto URI in their web browser, either the browser will display an error to the effect that no default email client exists, or the user will be subjected to a volley of technical questions by the unconfigured email client. Neither is a desirable outcome. Some web browsers such as Opera may be able to redirect clicks on mailto links to a chosen webmail service, but the majority of browsers have no such capability.

Security and privacy

A Mailto URL differs from a Webpage URI in that it may disclose personally-identifying information. It should never be assumed that the owner of an email address has granted permission for its publication. Therefore, due consideration should be given to the likelihood of infringement of privacy or intellectual-property rights.

A number of security issues are mentioned in RFC2368, however the greatest concern is that of robotic address harvesting. Mailto constructs are locatable within HTML pages by automated means which typically include the use of DOM constructs or regular expressions. Addresses harvested by such means are liable to be added to spammers' mass-mailing lists, and to thus receive large amounts of unwanted mail.

A number of methods exist to 'harden' mailto links against harvesting. However, these methods are not guaranteed to remain effective if the technology of harvesting robots is improved. Therefore, there exists an argument for the deprecation of the mailto URI in favor of other means of providing contact facilities, such as online forms.

References

  1. ^ RFC 2368 section 3 : by Paul Hoffman in 1998 discusses operation of the "mailto" URL.
  2. ^ Description of mailto syntax[dead link]

Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • mailto — mailto: est un schéma d URI permettant de créer un lien hypertexte vers une adresse courriel. Employé par exemple dans une page web en HTML, un tel lien permet à l utilisateur qui l a suivi de voir son client de messagerie démarrer l écriture d… …   Wikipédia en Français

  • Mailto — Sur Internet, le protocole mailto: permet de créer un lien de type URL vers une adresse courriel. Employé par exemple dans une page web en HTML, il permet à l utilisateur qui a cliqué dessus de voir son logiciel de gestion des courriels (Client… …   Wikipédia en Français

  • mailto — mailto,   Link …   Universal-Lexikon

  • mailto —    An HTML attribute that creates a link to an e mail address. If a user clicks on the mailto link, the browser opens a window for composing an e mail message to this address.    See also HyperText Markup Language …   Dictionary of networking

  • mailto — ● n. m. ►MAIL mot clé servant à indiquer une adresse électronique dans un document en HTML (en cliquant dessus on obtient tout de suite le formulaire d envoi de courrier) …   Dictionnaire d'informatique francophone

  • Legal status of Salvia divinorum — ] In such places where Salvia divinorum legislation exists, it varies in its prohibitive degree from country to country. Australia has imposed its strictest Schedule 9 (US Schedule I equivalent) classification for example, and Italy has also… …   Wikipedia

  • Code-barre EAN — Code barres EAN Le code EAN (European Article Numbering) est un code barres utilisé par le commerce et l industrie conformément aux spécifications d’EAN International, organisme aujourd hui remplacé par GS1[1]. Il est connu en France sous le nom… …   Wikipédia en Français

  • Code-barres EAN — Le code EAN (European Article Numbering) est un code barres utilisé par le commerce et l industrie conformément aux spécifications d’EAN International, organisme aujourd hui remplacé par GS1[1]. Il est connu en France sous le nom de GENCODE, à… …   Wikipédia en Français

  • European Article Numbering — Code barres EAN Le code EAN (European Article Numbering) est un code barres utilisé par le commerce et l industrie conformément aux spécifications d’EAN International, organisme aujourd hui remplacé par GS1[1]. Il est connu en France sous le nom… …   Wikipédia en Français

  • COMU — Infobox University name=Canakkale Onsekiz Mart University established=1992 motto= mascot= type=Public coeducational chancellor= city=Canakkale state= country=Turkey undergrad= 19,000 postgrad= staff=960 campus=Urban free label= free= colors=… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”