
To create a Mailto link, you need to use the HTML <a> tag with its href attribute, and insert a "mailto:" parameter after it, like the following: If you want to receive the email to more than one address, separate your email addresses with a comma: body - for the message's body text.
- Locate and select the page you wish to add a link to. ...
- Select the text where you wish add an email link.
- The Insert/Edit Link window will now open. ...
- In the Link field, remove the "http://" and enter "mailto:", then enter the email address directly after the colon. ...
- Click the OK button.
What is a mailto link?
Mailto links are used to redirect to an email address instead of a web page URL. When a user clicks on the Mailto link, the default email client on the visitor's computer opens and suggests sending a message to the email address mentioned in the Mailto link.
How do I work with mailto forms?
These forms are easy to work with, and they commonly include fields for an email address, user name, and a text area for the message. When a visitor submits a Mailto form, the Mailto link opens the visitor's email client filled with the form contents. Then, the visitor can click "Send" to produce an email for the Web admin.
How to create mailto link in Microsoft Outlook?
If you have Microsoft Outlook, for example as your default mail client, pressing a mailto link will open a new mail window. How to create mailto link in HTML. The mailto link is written like regular link with extra parameters inside the href attribute: <a href="mailto:[email protected]">Link text</a>
What are the parameters of the mailto attribute?
The mailto attribute accepts seven parameters, as described below: mailto: This parameter specifies the email address of the recipient. cc: This parameter is used to add another email address that will receive the mail's carbon copy. It is optional. bcc: This parameter specifies another email that will receive the blind carbon copy of the mail.

What is mailto email address?
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 it and entering it into an email client.
How do you do mailto in HTML?
mailto: HTML email link, what is it, how to create, examples and code generator....How to create mailto link in HTML.ParameterDescriptionmailto:[email protected] recipient [email protected] copy e-mail [email protected] carbon copy e-mail addresssubject=subject textsubject of e-mail3 more rows
What is the mailto tag in HTML?
What is a Mailto Link in HTML? Mailto links are used to redirect the user to an email address instead of a link. When the user clicks on a mailto link, the default email client opens on the user's computer and suggests sending an email to the address included in the mailto link.
How do I get my mailto link to work?
Log in to your email account (it's a required step to edit settings). Choose “Mail” from the menu and then “Preferences”. Change the default client in the first dropdown list. If you want Chrome and Gmail to open mailto links for you by default, make sure Google Chrome is picked as the default client on either OS.
Is mailto still used?
they're used everywhere—so people may be expecting the behaviour they're used to. on mobile devices, users pretty much have to set up a default email address, so clicking this link does exactly what most mobile users intend: it opens up their compose dialog.
Does mailto work with Gmail?
Next to "mailto," open the dropdown menu and select "Use Gmail." In the righthand column of the applications list, click on the "mailto" row and select "Use Gmail." This will set Gmail as your default email client for all mailto links that come from Firefox.
How do I insert a mailto link?
Locate and select the page you wish to add a link to. ... Select the text where you wish add an email link.The Insert/Edit Link window will now open. ... In the Link field, remove the "http://" and enter "mailto:", then enter the email address directly after the colon. ... Click the OK button.More items...
How do I use mailto in Outlook?
In the message, select the text or picture that you want to display as the link. On the Insert tab, click Link or Hyperlink. Under Link to, click E-mail Address. Either type the email address that you want in the E-mail address box, or select an email address in the Recently used e-mail addresses list.
How do I enable mailto in Chrome?
Open Chrome settings. Select "Show advanced settings" and click on "Content settings" under "Privacy." Scroll down to "Handlers" and select "Manage handlers." Select "mail.google.com" as your mailto site.
How do I get mailto to work in Chrome?
In the menu that appears, select either the "Options" (PC) menu option or the "Preferences" (Mac) menu option depending on the type of computer you're using. In the following menu, find the word "Application" and click on it. A search bar then appears, and you can type in the word "Mailto."
How do I insert a mailto link?
Locate and select the page you wish to add a link to. ... Select the text where you wish add an email link.The Insert/Edit Link window will now open. ... In the Link field, remove the "http://" and enter "mailto:", then enter the email address directly after the colon. ... Click the OK button.More items...
How do I pass HTML formatted body in mailto?
The Mailto format does not support HTML code emails. Outlook was used at 2003, but to become compliant with the mailto: standard they removed that functionality. But you can Use %0D%0A for a line break in HTML body.
How do you create a hyperlink in HTML?
To make a hyperlink in an HTML page, use the and tags, which are the tags used to define the links. The tag indicates where the hyperlink starts and the tag indicates where it ends. Whatever text gets added inside these tags, will work as a hyperlink. Add the URL for the link in the .
How to add multiple email addresses to the mailto link
You can add multiple email addresses to the mailto link using this syntax:
How to add a subject line to the mailto link
Here is some example code that shows you how to add a subject line to the mailto link.
How to add CC and BCC to the mailto link
This is an example that shows you how to add CC (carbon copy) and BCC (blind carbon copy) recipients to the mailto link.
How to add the body parameter to the mailto link
This is an example that shows you how to use the body parameter with the mailto link. This lets you add text to the body of your email.
Are there downsides to using mailto links?
One of the downsides to using a mailto link is that it does often come across as spam by users. Unfortunately, a lot of spammers will user this option to send emails to users. So just keep that in mind when you're using it.
Advantages of using mailto links
A good reason to use a mailto link is if you are sending emails to a group of people that you know. If that entire group is using a default email client, then using a mailto link would be a good option over a contact form.
Examples of use
The vital part of using mailto links is understanding what exactly you can do with them. After all, you might as well link to a form on your website instead of using mailto links. Well, in addition to many people preferring to use emails instead of online forms, the examples below show some scenarios in which mailto links will prove useful.
How do mailto links work
Mailto links behave a differently in email clients and in web browsers.
Mailto link body
The body attribute in mailto links is the one which usually holds the most information and is the trickiest to get right due to the encoding mentioned earlier. While you can create pretty long URLs to include all the information you need in messages sent to you, be careful. The longer your link becomes, the more spammy it looks.
How to add a mailto link
Adding the mailto link to your email in an email client is easy. Usually, all you need to do is highlight the element which you plan to make clickable and use the add hyperlink button. You can also use the Ctrl + K key combination, which works in most email clients.
Create your professional email signature
If you want to create your new email signature and add a mailto link to a banner, you can use the free email signature generator.
What is a Mailto Link in HTML?
Mailto links are used to redirect the user to an email address instead of a link. When the user clicks on a mailto link, the default email client opens on the user’s computer and suggests sending an email to the address included in the mailto link.
How to Create Mailto Links in HTML?
You can create an HTML mailto link by using an anchor tag with the href attribute and inserting the “mailto” parameter after it.
About the Author
Aryan is a tech enthusiast who likes to stay updated about trending technologies of today. He is passionate about all things technology, a keen researcher, and writes to inspire. Asi…
