Mailto Link Generator Tool
Preview:
About Mailto Link Generator tool
Mailto Link generator tool helps you to quickly create mailto links with multiple recipients, cc, bcc, email subject, and email body.
How to use this tool?
Using this mailto generator tool is very easy. Just follow the few steps given below to create mailto links.
- Add the recipient email id in the “Email To” text box.
- If you want to add CC, use “CC Emails” text box to add CC email addresses.
- If you want to add BCC, use “BCC Emails” text box to add BCC email addresses.
- Fill your subject text in the “Email Subject” text box. This field is optional.
- Fill your body text in the “Email Body” text box. This field is optional.
- Enter your desired link text in the “Link Text” box. If not given email id will be used as link text.
- Now click the “Generate Mailto Link” button to generate the mailto link and corresponding HTML code.
- The generated mailto link and HTML code will be available in “Mailto Link ” and “HTML Code” textarea respectively.
Note: Separate multiple email ids with a comma (,) or a semicolon (;).
What is a mailto link?
Mailto is a URI (Uniform Resource Identifier) scheme for including email ids on a webpage. It can be used with a hyperlink tag (<a>) which allows a user to automatically open the default email client from a webpage with a pre-filled message.
Email is still the preferred mode of communication, especially in business settings. Because of its simplicity, billions of emails are sent every day. So on your website, it is best to add contact email addresses as mailto hyperlinks.
Mailto link structure
The “mailto:” parameter inside the href attribute of an anchor tag acts as the default structure of the mailto link. The following code is an example of a simple mailto link.
<a href=”mailto:[email protected]”>Send Email</a>
Mailto parameters
Mailto provides few additional parameters that can be used to create a prefilled email. The mailto link parameters are:
Parameter | Description |
---|---|
mailto | one or more recipient email addresses. Example: mailto:[email protected] |
cc | carbon copy. one or more email addresses. Example: [email protected] |
bcc | blind carbon copy. one or more email addresses. Example: [email protected] |
subject | subject of the email. Example: subject=subject text |
body | body of the email. Example: body=body text |
? | delimiter for the first parameter |
& | delimiter for other parameters |
Adding CC
The CC (Carbon Copy) is used to send copies of an email to other people. In the mailto link CC email addresses can be added using “cc=” parameter. Here is an example:
<a href=”mailto:[email protected][email protected]”>Send Email</a>
Adding BCC
Like the CC, the BCC (Blind Carbon Copy) is used to send copies of an email to other people. The difference is in BCC the receiver cannot see the list of recipients. In the mailto link, BCC email addresses can be added using “bcc=” parameter. Here is an example:
<a href=”mailto:[email protected][email protected]”>Send Email</a>
Adding Subject
In the mailto link, the subject line can be added using the “subject=” parameter. Here is a mailto link with a subject line:
<a href=”mailto:[email protected]?subject=Hi%20There”>Send Email</a>
Note: %20 is the UTF-8 character set equivalent to space. It is used because whitespace is not recommended in mailto links.
Adding Body
In the mailto link, the email message can be added using the “body=” parameter. Here is a mailto link with email body:
<a href=”mailto:[email protected]?subject=Hi%20There&body=How%20are%20you”>Send Email</a>
Multiple recipients
It is possible to add multiple recipients in the “mailto”, “cc”, and “bcc” parameters. There are two characters that can be used to separate email addresses. They are comma (,) and semicolon (;).
Note: Most email clients support both commas and semicolons as a separator. But some clients support either comma or semicolon. So, if you just need to add two email ids, add one in “mailto” and another one in “cc”.
Comma separated
The comma (,) character can be used to separate email addresses in a mailto link. It is both recommended and standard. Here is an example:
<a href=”mailto:[email protected],[email protected][email protected],[email protected]”>Send Email</a>
Semicolon separated
The semicolon (,) character can be used to separate email addresses in a mailto link. The RFC standard recommends comma as the separator but some email clients only support semicolon. Here is an example:
<a href=”mailto:[email protected];[email protected][email protected];[email protected]”>Send Email</a>
Why use the Mailto Link Generator tool?
You cannot use certain special characters in the subject and body part of the mailto link. Some of the special characters that cannot be used in a mailto link are the question mark (?), ampersand (&), exclamation (!), and more.
You can use the Mailto Link Generator tool to quickly generate mailto links with cc, bcc, subject, and body. It encodes email subject and body so you don’t have to worry about special characters in your email.