The exact format inside the code
Pattern:
mailto:you@example.com?subject=Hello%20there&body=Line%20one%0D%0ALine%20two Example:
mailto:orders@example.com?subject=Catering%20request We use the standard mailto: link by default.[1] The older MATMSG: style from Japanese i-mode phones is available for scanners that expect it.[2]
Who uses an email code — and why it beats printing an address
Typing an email address on a phone keyboard is where messages go to die: a missed letter, a wrong dot, and the inquiry bounces without anyone knowing. An email code removes the typing. It's a good fit when you want a message rather than a click:
- Catering and quote requests — a code on a menu or truck that opens "Catering request" with fields to fill in.
- Lost and found — a luggage or equipment tag that drafts "I found your…" to a shared inbox.
- Feedback at events — a sign by the exit that opens a short feedback email with the event name in the subject.
- Help desks — a sticker on office equipment that drafts a ticket with the asset tag already in the subject line.
Simply encoding the bare address works on some scanners, but turning it into a proper mailto: link is what reliably tells a phone "this is an email".[3]
How the mailto: format handles your text
The mailto: scheme is defined by an IETF standard, and a few of its rules explain what you see in the "What's inside" box:[1]
| You type | Stored in the code as | Why |
|---|---|---|
| A space | %20 |
Spaces are written as %20; a plus sign would be ambiguous, since + can be part of an address like bill+orders@… |
| A line break in the message | %0D%0A |
The standard requires line breaks in the body to be encoded this way |
&, ?, # in the subject |
%26, %3F, %23 |
These characters have meaning inside a link, so they're escaped |
The result looks messy in the preview but arrives clean in the mail app.
MATMSG, the older alternative
Before smartphones, Japanese i-mode phones read a format that begins MATMSG: with TO:, SUB: and BODY: fields separated by semicolons.[2] Some scanner apps still understand it. We offer it as an option, escaping semicolons, colons, commas, quotes and backslashes so a stray character can't cut a field short. For a general audience, stick with the default.
Writing a subject and message people will actually send
Pre-filled text works best when it saves effort without putting words in someone's mouth. A subject that sorts your inbox ("Lost & found — Gate 4") is more useful than marketing copy. Keep the starter message to a line or two with blanks the sender completes: "Order number: ___". Every character you add makes the code denser, and a dense code needs a bigger print size to scan from a distance.
Frequently asked questions
Does the email send automatically?
No. Scanning opens a draft. The person can read it, edit it and decide whether to send it — the code never sends anything on its own.
Should I choose mailto: or MATMSG?
Can I add CC or BCC addresses?
The mailto: format supports them,[3] but this generator keeps to To, Subject and Body so the code stays small. If you need a CC, add it to the message body as a reminder instead.
Why are the spaces shown as %20?
That's how the mailto: standard writes a space inside a link. Using a plus sign instead is a known source of confusion, because a plus can be a real part of an email address.[1]
Will people see my email address?
Yes — the draft shows it, and anyone can decode the code. Use an address you're comfortable posting, such as a shared inbox rather than a personal one.
Sources
- IETF / RFC Editor. RFC 6068: The 'mailto' URI Scheme.
- NTT DOCOMO via the Internet Archive. E-mail Synchronization (i-mode bar code functions), archived.
- ZXing project wiki. Barcode Contents.