Back to Glossary

What is Mailto Link?

By Mailneo Team|

A mailto link is a special HTML hyperlink that, when clicked, opens the user's default email application and pre-populates fields like the recipient address, subject line, and body text. It uses the mailto: URI scheme.

Why It Matters

Mailto links reduce friction. Instead of asking someone to copy your email address, open their mail app, paste it in, and type a subject line, you hand them a one-click shortcut. They're especially useful on contact pages, support footers, and anywhere you want to make it dead simple for someone to reach out.

How It Works

The basic syntax is straightforward: <a href="mailto:hello@example.com">Email us</a>. You can also pre-fill the subject, body, CC, and BCC fields by adding query parameters:

mailto:hello@example.com?subject=Quick%20Question&body=Hi%20there

The catch? Mailto links expose your email address in the page source, which makes it easy pickings for spam bots. If that's a concern, consider obfuscating the address with JavaScript or using a contact form instead.

Quick Tips

  • Always URL-encode spaces and special characters in subject and body parameters
  • Don't rely on mailto links as your only contact method -- some users don't have a default email client configured
  • Use them in email signatures and transactional footers to encourage replies

Ready to improve your email deliverability?

Connect your email accounts, automate outreach, and track opens and clicks — without switching between tools.

Get Started Free