QR code mailto subject and body not working: the fix
Email QR code opens a blank draft or drops the subject and body? Why scanners read mailto and MATMSG differently, and how to build a code that works.
The Liite team7분 분량
Short answer
Encode a plain mailto: link with percent-encoded text, not the older MATMSG format, then scan it on both an iPhone and an Android phone before you print. If the code is already printed and wrong, a code that points to a redirecting short link is the only way to fix it without reprinting, and you should test that route on real phones too.
You scanned an email QR code and the draft opened blank, or only the address was filled in, or the subject arrived but the body vanished. This is the exact problem people describe when searching "QR code mailto subject body not working", and people on the r/qrcode subreddit report the same thing with codes from static generators.
Why it happens
A QR code only holds text. Everything that looks like "email behavior" comes from what the phone's scanner does with that text, and then what the mail app does with the link it is handed. Two formats are common.
- mailto:
mailto:name@example.com?subject=Hello&body=Hi%20there. A standard link format that most camera apps and QR readers recognize. - MATMSG:
MATMSG:TO:name@example.com;SUB:Hello;BODY:Hi there;;. An older format that some generators still produce. Not every camera app parses it, and users report that some apps use only part of it.
In the August 2025 thread, the poster found that only a dynamic code, one that redirects, worked reliably. We can't tell you which generators produce which format today, or whether any have changed since, so test your own code rather than trusting a generator's preview.
Other things break a mailto link whatever the format:
- Unencoded characters. Spaces, line breaks,
&,?,#and%inside the subject or body must be percent-encoded. An unencoded&ends the subject early, and a raw#can cut off everything after it. - Long bodies. More text makes the code denser and harder to scan, and gives a reader app more room to fail.
- No mail app set up. If the phone has no default mail app or no signed-in account, the link may open nothing or a blank screen, however correct the code is.
- A wrapper in the generator. An "email" form may rewrite your fields into MATMSG or drop some of them without telling you.
| Cause | Symptom | Fix |
|---|---|---|
| MATMSG format | Address only, or nothing | Encode a plain mailto: link |
Raw & in text | Subject cut short, body missing | Use %26 |
Raw # | Everything after it lost | Use %23 |
| Long body | Hard to scan, fields dropped | Keep to one or two lines |
| No mail account | Blank screen or no app opens | Sign in to a mail app |
Step-by-step fixes
1. Write the link by hand first
Put the address first, then ?subject=, then &body=:
mailto:hello@example.com?subject=Poster%20enquiry&body=Hi%2C%20I%20saw%20your%20poster.2. Encode the text
- Replace each space with
%20. - Replace a comma with
%2C, a line break with%0A,&with%26,#with%23and%with%25. - Or let a tool do it: our mailto link generator builds a link with subject and body that you can copy. The syntax is also covered in mailto and SMS links and mailto link with subject and body.
3. Put the finished link into the QR generator as a URL or plain text
Use the generator's text or URL field if it has one, rather than an "email" form that might wrap your link in MATMSG. If you do use the email type, scan the result and check what actually arrives.
4. Keep the body short
One or two lines is plenty. Let the person write the rest. Every extra character makes the code denser.
5. Test before you print
Scan with the built-in camera on an iPhone and on an Android phone, and with one third-party reader. Check that the address, subject and body all arrive. Our guide on testing a QR code lists what else to check.
6. Check the phone, not just the code
If it still opens blank on one device, open the mail app, make sure an account is signed in, and scan again.
Warning
A generator preview only proves the code is readable. It does not prove that a particular phone's mail app will honor every field.
What won't help
- Making the code bigger. Size helps the camera detect the code, not how the text is interpreted once it's read.
- Changing colors or styles. This affects detection only.
- Adding CC, BCC or more fields. Each extra field is another place for an app to ignore or mangle the link.
If the poster is already printed
The poster in the thread only worked with a dynamic code: a short link that redirects to the mailto text. The phone scans an ordinary web address and the redirect supplies the mailto link. Because the printed code never changes, you can fix the subject or body later without reprinting.
Trade-off
A browser may add a step before handing a mailto link to the mail app, so test the redirect route on real phones as well.
Checklist before you print
- The link starts with
mailto:and the address comes first. ?appears once, beforesubject, and&separatessubjectandbody.- Spaces, line breaks,
&,#and%inside the text are encoded. - The body is one or two lines.
- You scanned it on an iPhone and an Android phone, plus one third-party reader.
- Address, subject and body all arrived.
If nothing works
Contact the support team of the QR generator you used, since only they can say what format their email type produces. If the code opens blank only on one phone, the phone maker's or mail app's support is the right place. Include the exact text the code contains (scan it with a plain text reader), the phone and OS version, the camera or reader app, and what arrived.
Hello, my email QR code does not fill in the subject and body.
Phone: [model and OS version]. Scanner: [camera app or reader name].
Expected: address, subject and body filled in.
Actual: [blank draft / address only / subject only].
The code contains: [paste the decoded text].
Could you tell me whether your email type produces a mailto: link or MATMSG,
and whether you have a plain text or URL option? Thank you.Common questions
Why does it work on one phone and not another?
The camera app that reads the code and the mail app that opens the link differ on each phone. We can't say which combinations drop fields, which is why the two-phone test matters.
Should I use my generator's email option?
Only if you scan the result and see the subject and body arrive. If they don't, build the mailto link yourself and encode the QR from that.
Can I put a line break in the body?
Yes, as %0A in the link. Keep it to a couple of lines.
Does a QR code expire if I use a short link?
A Liite short link's QR code keeps working while the link exists and isn't ended by a schedule, a click limit or a safety suspension. See do QR codes expire.
A note on Liite
Liite's free QR code generator makes static codes in your browser with no account, and there is an email QR code page, but we haven't verified that its email type avoids the problems above, so test it like any other. For the redirect route, a Liite short link's QR code encodes the short link, so you can change the destination later (see short links); we haven't confirmed that a mailto: destination is accepted, so try saving one before you print.