mailto link markdown
Asked by hientran92:

I have this mailto link markdown in my Trello card that works for ages

```
[hientran\@clientdiary.com](mailto:hientran@clientdiary.com?subject=Test)
```

That will gives [hientran@clientdiary.com](mailto:hientran@clientdiary.com?subject=Test) with the mailto link with subject prefilled.

However, just today, when hovering on it, the browser link preview at the bottom left corner shows "invalid-mailto:hientran@clientdiary.com?subject=Test". Hence, when clicking, it opens an empty new tab.

Any ideas what happened? Was it an update from Trello that breaks it?

Thanks


Answers:
author: Client Care
body: I am also suddenly having this problem! :(

comments: author: Pflieger Arnaud
body: It still works here. Double check your markdown ;)


author: Pflieger Arnaud
body: ? People, it has been fixed!

??


author: Cody C.
body: I'm not entirely sure the issue, but I think this may be due to Chrome not prompting for a Handler for mailto links. I saw exactly what you all are mentioning, then checked my Handlers in Chrome under Settings \> Privacy and security \> Site settings \> Additional permissions \> Handlers and I noticed there was nothing listed there. Even though I had the option "Allows sites to ask" enabled, I wasn't being prompted to add one.

Here's the fix that worked for me. As a test, try going to Gmail and clicking the Handler icon in the URL bar, then allow Gmail to handle email links:

![13-33-01.png](https://community.atlassian.com/t5/image/serverpage/image-id/149196i2C89562BEF2EEDEA/image-size/large?v=v2&px=999 "13-33-01.png")

Head back over to Trello and see if those mailto links aren't working as expected. I'm not 100% sure how those are created or handled for external email apps, but hopefully that gets us all on the right track.

comments: author: Pflieger Arnaud
body: I reset the gmail handler as you said but I still get mailto link addresses as 'invalid-mailto:...'

Note that if I edit the html of the link on the card to remove this 'invalid-' prefix, it just works


author: C?dric Taxis Verts
body: Has anyone found a solution? It seems that whenever there is a topic or a body Outlook does not open. Chrome opens a tab: about:blank. thanks for your help

comments: author: Pflieger Arnaud
body: Nope. Trello just became a lot more painful to use.


author: Adrian Evans
body: Has this been raised as a bug, as something has obviously changed that needs fixing?

comments: author: Pflieger Arnaud
body: I reported it to the support but I didn't get any anwser


author: Jason Chee
body: I reported it. Here's support's answer on 19 April.  

> Thanks for taking the time to send us that bug report! I was able to reproduce what you're seeing, and I'll pass it on to the team for additional investigation.
>
> While I don't have an ETA on when a fix for the issue will be pushed, as soon as one is available, we will deploy it.


author: Jason Chee
body: I ended up not waiting for a fix, anyway. Changed my script to toLower() the emails before adding to my board.


author: Jason Chee
body: Never had this issue till recent, an update must have broken it.

The email addresses in my cards do not have query strings. Half of them have the "invalid-" appended to the mailto and half don't, it's very inconsistent.

Hoping for a fix.

Edit: I noticed a pattern for my case. If the email address starts capitalized, it will be parsed as "invalid-mailto" (e.g. Test@example.com is invalid, test@example.com is valid).


author: Hannah D Dexter
body: Has anyone heard anything more on this? I have been experiencing the same issue, and have been unable to solve for it, except if I don't have the subject line pre-populate, which is not super helpful.


author: Pflieger Arnaud
body: Same here.

It seems that it's when the url contains query parameters.

???


author: Becca Lanning
body: Hello! I also am having this issue with coded mailto links. But I also have another similar issue. Almost all the regular email addresses (emails just on the card, not specifically a mailto link) on our trello cards are producing an "invalid-mailto" when we try to click. However, for us, it appears that its only happening on email addresses containing capital letters -- once we swap to lowercase, the links works fine. But is rather annoying to have to change all our system flows to correct this.


Tags: atl-gruland