MailtoMagic
Create perfect mailto links with advanced features
Generated Output
What is a mailto link?
Mailto link is a hyperlink that allows users to send an email to a specific address directly from an HTML document, without having to copy and enter it into an email client like Gmail or Outlook.
Start with mailto:
Every mailto link starts with:
mailto:
Single recipient
Then comes the email address without any additional characters, just the email address as is.
mailto:somebody@email.com
Multiple recipients
It is not advisable to have multiple recipients in the "To", "Cc" or "Bcc" fields of the mailto link. You can do it, but it may not work.
If you have already decided to create a mailto link with multiple recipients and cannot be discouraged, this is how to go about it:
- Add multiple email addresses.
- Separate them with commas (,).
- Remove spaces between commas and email addresses.
- Test the link with multiple email clients.
With commas:
mailto:first@email.com,second@email.com,third@email.com
With semicolons:
mailto:first@email.com;second@email.com;third@email.com
The most reliable way (using cc and bcc):
mailto:first@email.com?cc=second@email.com&bcc=third@email.com
Characters that divide parameters
The question mark appears only before the first parameter, while the ampersand appears before all others:
mailto:___
mailto:___?body=___
mailto:___?subject=___&body=___
mailto:___?cc=___&bcc=___&subject=___&body=___
Special Characters Encoding
Encoded | Character | Description |
---|---|---|
%20 | space | Used for spaces in text |
%21 | ! | Exclamation mark |
%2D | - | Hyphen |
%2E | . | Period |
%3A | : | Colon |
%3F | ? | Question mark |
Complete Example
Here's a complete example with all parameters:
To: committee@eurovision.com
Cc: culture@iceland.gov
Bcc: sigrit@firesaga.com
Subject: Entry submission
Body: Greetings Eurovision committee, I am sending you this year's submission from Fire Saga of Iceland. Best regards, Lars Erickssong
mailto:committee@eurovision.com?cc=culture@iceland.gov&bcc=sigrit@firesaga.com&subject=Entry%20submission&body=Greetings%20Eurovision%20committee%2C%0AI%20am%20sending%20you%20this%20year%E2%80%99s%20submission%20from%20Fire%20Saga%20of%20Iceland.%0ABest%20regards%2C%0ALars%20Erickssong
HTML Implementation
To use a mailto link in HTML, wrap it in anchor tags:
<a href="mailto:somebody@email.com">Say hi</a>
More Information
For more technical details about mailto links, you can refer to the RFC 6068 document by the Internet Engineering Task Force (IETF).
Mailto Link Master Guide
Core Concepts
mailto:[address]?[param1=value¶m2=value]
Parameter Encoding
Character | Encoded | Example Use |
---|---|---|
Space | %20 | Hello%20World |
Comma | %2C | CC%2C%20BCC |
Line Break | %0D%0A | Line1%0D%0ALine2 |
Compatibility Considerations
Client Limitations
Client | Max Recipients | Param Support |
---|---|---|
Outlook | 10 | Full |
Gmail | 50 | Limited |
Apple Mail | 100 | Full |
If you find this tool helpful, consider supporting its development:
Thank you for your support! ❤️