html mailto syntaxLearn how to use the Mailto HTML protocol for creating clickable email links on your web page. There are some advanced features of HTML Mailto syntax which you should learn. I have shared Mailto Syntax example this post so that you can learn them quickly.

Mailto syntax lets you create directly clickable email links which you can use while creating any web page. The links that you will create using Mailto Syntax supports modern day web email clients like Gmail on your browser.

Clicking on the email link will directly open Gmail’s Compose new email for you on your browser new tab. Otherwise, it will open the default mail client which you have installed on your computer (like Mozilla Thunderbird) to compose a new email. There’s a possibility if you are reading this post then you already know about HTML Mailto function and how you to use it for quickly linking to an email id on a web page. But, as i have already told you earlier there are some advanced features which you don’t know about, You can learn them from below.

Recommended Read: How To Unsubscribe All Useless Email Newsletters in One Click.

Using the HTML Mailto Syntax

Mailto Syntax Examples

You can check below for the real examples of the Mailto syntax’s advanced features. You can test these directly by typing any one of the following syntaxes into your browsers address bar.

Also Read: How to Write Better Emails using Awesome Tools.

  • Send an email to Single Recipient

<a href=“mailto:[email protected]”>

  • Send an email to Multiple Recipients (using a Comma)

<a href=“mailto:[email protected],[email protected]”>

  • Send an email to Someone and Add Others to CC: list and BCC: list to other people.

<a href=“mailto:[email protected][email protected]&[email protected]”>

  • Send an email to Someone with the subject “Hello World.”

<a href=”mailto:[email protected]?subject=Hello%20World”>

  • Send an email to Someone with the subject “Hello World” and some text in the body of the email message.

<a href=”mailto:[email protected]?subject=Hello%20World”&body=Have%20a%20good%20day″>

Note: While using these, you need to remember few things – you can only use one “?” character and you have to use %20 for the space character and %0A to add a line break in the body text. With these things in your mind, you are ready to go.

Also Read: 61 Most Useful Websites on The Internet for 2018.

In case you want to share your opinion about this post, you can do that by commenting below. Also Fell free to share your thoughts about HTML mailto syntax, Thanks for reading.

I'm a self-proclaimed geek and Founder of Most Useful Tricks. I love building "USEFUL" internet sites, read books and play guitar. Being a one man army, I am currently working hard to make this one of the top tech blogs of the World.



Please enter your comment!
Please enter your name here