mailto link not working in Chrome ("Canceled"): the fix
A mailto: button that does nothing in desktop Chrome, with "Canceled" in DevTools, is usually a missing mail handler. Here are the fixes, step by step.
The Liite team阅读约 7 分钟
Short answer
Your link is most likely fine. Chrome has no mail app or web mail service set up to handle mailto: links, so the click goes nowhere. Set a default mail app in your operating system, or register Gmail as the handler in Chrome's Handlers settings, then test with a plain link.
You added an email button to your site. On your phone it opens the mail app, but on desktop Chrome clicking it does nothing, and the Network tab in DevTools shows:
Canceled
Why Chrome shows "Canceled" for a mailto link
A mailto: link is not a web page. Opening one doesn't cause an immediate interaction with a server. Instead, the client creates a message to the address. That "client" is whatever mail app or web mail service is registered on the device.
Phones ship with a mail app registered, which is why the same button works there. On desktop the picture is less tidy:
- No handler is registered. One answer on Microsoft's Q&A site puts it plainly: if you don't specify a mailto: handler, nothing happens when you click.
- Windows lost its default mail app. Microsoft's Q&A describes a case where, after Outlook was removed, Windows sometimes doesn't properly reassign the default mail handler, so Chrome or Edge step in but can't handle the request.
- Chrome's handler setting is off or has blocked an entry. Google's Workspace help says to check that "Allow sites to ask to become default handlers for protocols" is on, and that mail.google.com isn't in the Blocked list.
- An extension interferes. A reply on Google's Chrome community suggests disabling extensions that might interfere with mailto links. That is advice, not a confirmed cause in every case.
Nothing loads, so DevTools lists the navigation as "Canceled". The label describes the symptom. It is not an error from your site builder. This applies to any site: Carrd, a hand-written HTML page, a Liite page. People in a Carrd community thread report exactly this on desktop, with one commenter saying a browser-side fix worked. We haven't tested every Chrome version, so treat the steps below as the usual route, not a guarantee.
Quick diagnosis
| Symptom | Likely cause | Fix |
|---|---|---|
| Works on phone, dead click on desktop | No handler registered | Fix 1 or Fix 2 |
| Opens a blank tab | Misconfigured handler or extension | Fix 2, then Fix 5 |
| Works in Edge or Firefox, not Chrome | Chrome's own handler settings | Fix 2 and Fix 3 |
Plain mailto: link also fails | Browser or system setting | Fixes 1 to 3 |
| Plain link works, your button fails | The button's link is malformed | Fix 4 |
Step-by-step fixes
Start with the most likely cause and work down. Retest after each step.
Fix 1: Set a default mail app on your computer
- On Windows, open Settings > Apps > Default apps, choose Choose defaults by link type, search for
mailtoand pick a mail app. Microsoft's Q&A gives this route. - On a Mac, open the Mail app, go to its settings and set the default email reader.
- Restart Chrome, then click the link again.
Fix 2: Check Chrome's handler settings
Google's Workspace help gives this route, which may shift between Chrome versions:
- Open Chrome's Settings and go to Privacy and security > Site Settings.
- Open Handlers (under additional permissions).
- Turn on Allow sites to ask to become default handlers for protocols.
- Scroll to the Blocked section and remove any mail service listed there.
Fix 3: Register Gmail as the handler
- In Chrome, go to
mail.google.com. - Look for the handler icon at the right end of the address bar. Google's help calls it Service handler, and a Chrome community answer describes it as a double diamond.
- Click it, choose Allow, then Done.
- Open
chrome://settings/handlersto confirm the entry. That page is also where you remove the setting later.
If the icon never shows, the setting from Fix 2 is the usual reason. Users on Google's Gmail community report the same missing icon. Their suggested route is to sign out of Gmail, close all Chrome windows, sign back in, and look again.
Gmail handles web links only
A web service such as Gmail can be a Chrome handler. A desktop app such as Thunderbird can't be set inside Chrome. For that, use your operating system's default app (Fix 1). This is how one Microsoft Q&A answer explains it.
Fix 4: Test with a plain link and check how yours is written
Open any page with a bare mailto:you@example.com link. If that works but your button doesn't, the button's link is the problem. The address must follow mailto: directly, with no http:// or https:// in front. Whitespace must not be used within the address. A subject goes after a ?:
mailto:you@example.com?subject=HelloPer RFC 6068, spaces should be encoded as %20, and a second ? is wrong. Extra fields are joined with &, as in mailto:joe@example.com?cc=bob@example.com&body=hello. Our post on mailto and SMS links covers the syntax. The mailto link generator builds one with the subject and body encoded.
Fix 5: Rule out extensions and other browsers
- Open the page in an Incognito window with extensions disabled, or turn extensions off one by one.
- Try Edge or Firefox with the same link. If your mail app opens there, the problem is Chrome's configuration, so go back to Fix 2.
Registry edits
One Microsoft answer suggests deleting a UserChoice registry key for mailto as a last resort. Back up the key first, and only do this if the settings route has failed. A wrong edit can break other default apps.
What won't help
- Rebuilding the button. If the same link opens mail on your phone, the button works.
- Clearing the site's cache. The click never loaded a page, so nothing is cached.
- Switching site builders. Every builder produces the same kind of link, and the browser makes the final call.
The iCloud "browser isn't supported" message
A related report describes an iCloud mail link saying the browser isn't supported. That message comes from iCloud Mail, not from your link. If you registered iCloud as your handler in Chrome, try the system mail app or another handler. Check Apple's support pages for the browsers iCloud Mail supports, since that can change.
Checklist before you test again
- Chrome has been restarted after any settings change.
- Allow sites to ask to become default handlers for protocols is on.
mailtoor your mail service isn't in Chrome's Blocked list.- Your OS has a default mail app, or Gmail is registered as the handler.
- A bare
mailto:you@example.comlink works on a test page. - Your button's link starts with
mailto:and has no spaces.
If nothing works
Contact the support channel for whichever piece fails: your site builder if only your button fails and a plain link works, Google Chrome Help if Chrome's handler settings misbehave, or Microsoft Support if Windows won't keep a default mail app. Include the exact page URL, your Chrome and OS versions, the exact link text, and what you've already tried. A screenshot of the DevTools Network row helps.
Hi, the email button on my page does nothing when clicked in desktop Chrome.
DevTools shows the request as "Canceled". It works on my phone.
Page: https://example.com
Link: mailto:you@example.com
Chrome version: (paste from chrome://version), OS: (Windows 11 / macOS)
Already tried: default mail app set, Handlers setting checked, Incognito, Edge.
A plain mailto link on another page [works / also fails].
Can you tell me what else could block the link?Common questions
Why does it work on my phone but not my computer?
Phones ship with a default mail app already registered for mailto: links. A desktop browser only has one if your operating system or you have set one up.
Will my visitors hit the same problem?
Some will. Anyone without a mail app or web mail handler sees the same dead click, and you can't fix that from your side. Show your address as plain text next to the button so they can copy it.
Does it matter that DevTools says "Canceled"?
Not by itself. It means the browser didn't load a page for that click, which is normal for a link that opens an app.
Can I make a mailto link open Gmail for everyone?
No. The handler is a setting on each visitor's browser, not something your site controls. Your link only names the address.
A backup for visitors without a mail app
A mailto: button fails for anyone with no mail app set up. A Form block on a Liite page collects a visitor's message into your inbox and sends you an email alert, so they need no mail app. You can keep the mailto: link as a second option. See Forms and subscribers.