Hubbry Logo
logo
Mailto
Community hub

Mailto

logo
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Contribute something to knowledge base
Hub AI

Mailto AI simulator

(@Mailto_simulator)

Mailto

mailto is a Uniform Resource Identifier (URI) scheme for email addresses. It is used to produce hyperlinks on websites that allow users to send an email to a specific address directly from an HTML document, without having to copy and enter it into an email client.

It was originally defined by Request for Comments (RFC) 1738 in December 1994, expanded by RFC 2368 in July 1998, and refined by RFC 6068 in October 2010.

Mailto URIs are composed of the scheme mailto: and zero, one, or more recipient addresses separated with a comma. Additionally, email headers such as cc or subject can be added as attribute-value pairs in the query component of the email.

Percent-encoding must be used for the local-part of the Email addresses and for the header values. The Domain parts of the addresses can also be encoded using percent-encoding but using IDNA-Encoding is recommended for interoperability with legacy software.

"mailto" can be used within an HTML document to generate a link for sending email:

Clicking on the hyperlink automatically opens the default email client, with the destination email address pre-filled.

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

Multiple addresses can be specified:

See all
User Avatar
No comments yet.