What are Mailto Links?
Mailto links are HTML hyperlinks that, when clicked, open the user's default email client (such as Outlook, Apple Mail, or Gmail) with one or more fields pre-populated. Rather than forcing users to copy and paste an email address into their mail app, a mailto link creates a seamless, single-click experience.
The syntax is standardized by RFC 6068 and supported by virtually every browser and email client on the planet, making it one of the most reliable contact mechanisms on the web.
Anatomy of a Mailto Link
A mailto link is structured as follows:
mailto:recipient@example.com?cc=copy@example.com&subject=Hello&body=Dear%20Team
Each parameter is separated by & (and the first one by ?). Special characters
in the subject and body must be URL-encoded — for example, a space becomes
%20 and a newline becomes %0A. Our generator handles all of this encoding
automatically.
Real-World Use Cases
- Contact Buttons: Replace plain email addresses on "Contact Us" pages with a pre-filled link that opens with the subject "Website Inquiry", making it easier for leads to respond.
- Support Tickets: Embed a mailto link in your documentation that pre-fills the support address, a structured subject like "Bug Report – [ProductName]", and a body template asking for OS version and steps to reproduce.
- CTA in Email signatures: Add a "Schedule a call" button in your email signature that pre-populates a meeting request template.
- E-commerce: Add a "Request a Quote" link on product pages that pre-fills the product name and SKU in the subject line for the sales team.
Important Limitations
While powerful, mailto links have some limitations to be aware of:
- Email client required: The link only works if the user has a desktop email client configured. On many corporate desktops this is fine, but it can be a poor experience for users who only use webmail.
- Spam exposure: Plain email addresses in HTML source code are harvested by bots. Always pair visible addresses with spam-protection strategies (CSS obfuscation or JavaScript rendering).
- Body length limits: Most email clients have a URL length limit of 2,000 characters. Keep the pre-filled body concise or use a contact form for complex messages.



