mailto link trick

Using a mailto link to capture registrations in emails or even web pages is a controversial practice. Many marketers are aware that they are not bulletproof. Unfortunately,  in most cases, you will not be able to track them too, so your campaign metrics will not be accurate.

Why is it still so popular? Well, it is quite easy to use, you do not need to create web-forms or registration pages, you simply add in the email address where you want the readers to reply. Therefore, I think it is a good time to at least know how to add and customise them.

Add a mailto link in HTML

We often get questions about how to add mailto links, so let’s have a look. Many email platforms will have that functionality built into their WYSIWYG views. However, if you need to add it in manually, you will need to add in a bit of HTML code:


Please reply <a href=”mailto:insertemailaddress”>here</a>


Mailto link: Add a Subject Line

Let’s go a step further. If you are using mailto links, try to give the best possible experience to your readers or subscribers.


Please reply <a href=”mailto:insertemailaddress?subject=This is my subject line”>here</a>


In some cases, you might need to add  %20 for spaces:


Please reply <a href=”mailto:insertemailaddress?subject=This%20is%20my%20subject%20line”>here</a>


Mailto Link: Add Body Text

You can also add a bit of text in the mailto link code. For example, you want to make registration as easy as possible. Once the link is clicked, the email with registration confirmation, such as “Yes, I would like to attend” opens, and your subscribers would only need to hit send. Adding &body to your HTML code should do the trick:


Please reply <a href=”mailto:insertemailaddress?subject=This%20is%20my%20subject%20line&body=Yes%20I%20will%20attend”>here</a>


You might need to insert a line break in the body copy, add this %0D%0A to your code. Make sure you use correct HTML for the ampersand, question mark, equal signs, and double quotes.

Bonus: Free HTML Editors

It is easier and quicker to write your HTML using HTML editor than in, for example, notepad. Well, known software, such as DreamWeaver, will not be free, but there are many online editors you can use. Here are some for you to try out:


Codemefy Author: Adele Baltuoniene
March, 2017