Uri mail
You're referring to URI (Uniform Resource Identifier) mail!
URI mail, also known as mailto URI, is a type of URI that is used to send an email message to a specific email address. The format of a mailto URI is as follows:
mailto:
Here's a breakdown of the components:
mailto
: This is the protocol scheme that indicates that the URI is used to send an email message.<email address>
: This is the email address that the message will be sent to.?subject=<subject>
: This is an optional parameter that specifies the subject of the email message.&body=<body>
: This is an optional parameter that specifies the body of the email message.
For example, the following is a mailto URI that sends an email to [email protected]
with the subject "Hello" and the body "This is a test email":
mailto:[email protected]?subject=Hello&body=This%20is%20a%20test%20email
Note that the &
character is used to separate the subject and body parameters, and the %20
characters are used to encode the spaces in the body of the email message.
Mailto URIs can be used in various contexts, such as:
- Hyperlinks: You can use mailto URIs as hyperlinks in web pages or documents to allow users to send an email message with a single click.
- Forms: You can use mailto URIs as the action attribute of a form to send the form data as an email message.
- APIs: You can use mailto URIs as a way to send email messages programmatically from an application or API.
Overall, mailto URIs provide a convenient way to send email messages from web pages, applications, and other digital systems.