How it works
Fill in the address, subject and body, and copy a mailto link that opens a new email with everything already written. The tricky part is the encoding: an “&” in the subject, a line break in the body or a space written as “+” can quietly break the link. This gets them right and shows how the message will open. Nothing you type leaves your browser.
How a mailto link is built
A mailto link is the address, then a question mark, then fields joined with “&”. The standard for it is RFC 6068.
| Part | Example | Notes |
|---|---|---|
| Address | mailto:events@northwind.example | Several addresses are separated with commas |
| Cc and Bcc | ?cc=sam@northwind.example | Bcc addresses can be read by anyone who looks at the link |
| Subject | &subject=Q%26A%20day | Spaces are %20, an ampersand is %26 |
| Body | &body=Hi%2C%0D%0AThanks | Line breaks are %0D%0A; plain text only |
What breaks mailto links
- An unencoded “&” or “#”. “subject=Q&A day” ends the subject at “Q”, because “&” starts the next field.
- Spaces as “+”. That's how web forms encode spaces, but some mail apps show the plus signs as typed. Use %20.
- Line breaks. A line break typed straight into a link is dropped or breaks it. It must be written as %0D%0A.
- Length. Past about 2,000 characters some browsers and mail apps cut the link short or won't open it. Keep the body to a few lines.
- HTML in the body. The body is plain text, so tags show as typed.
Using mailto links in marketing emails
A mailto link opens the reader's default mail app, which on a work computer may not be the one they use. Show the address as the link text, or next to it, so anyone can copy it. And test the link from the email itself: some email platforms rewrite links for click tracking, and a few don't handle mailto links well.