Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"mailto:" links no longer work #94

Closed
rajiv opened this issue Nov 2, 2022 · 5 comments
Closed

"mailto:" links no longer work #94

rajiv opened this issue Nov 2, 2022 · 5 comments

Comments

@rajiv
Copy link
Contributor

rajiv commented Nov 2, 2022

Hi. I'm not sure when this broke, but running Fastmate 1.9.0 on macOS Monterey 12.6.1 and mailto: links from webpages no longer work.

After clicking on a link on a webpage of the form <a href="mailto:user@example.com">user@example.com</a> Fastmate does open to the Fastmail compose window, with a new message. However the "To" field in the message has @example.com, or sometimes er@example.com or even example.com.

This happens with links from the Safari, Chrome, and Firefox.

Possibly related to #95.

@joelekstrom
Copy link
Owner

joelekstrom commented Nov 2, 2022

Thanks for reporting. Seeing the same issue. It feels like this may be a Fastmail problem - Fastmate handles this by opening a URL such as https://app.fastmail.com/mail/compose?mailto=test@example.com and I'm observing the same behavior when I open this link in browsers.

Interestingly, the above is the exact URL which Fastmail itself registers in Chrome when you set it to open as default e-mail app, and in that case it actually does work correctly

@joelekstrom
Copy link
Owner

I have opened a ticket with Fastmail support to see if this can be fixed on their side

@rajiv
Copy link
Contributor Author

rajiv commented Nov 2, 2022

Oh interesting. Clicking this link works correctly: https://app.fastmail.com/mail/compose?to=test@example.com&cc=foo@example.com&subject=A+test+email&body=https%3A%2F%2Fgithub.com%2Fjoelekstrom%2Ffastmate%2Fissues%2F94

Note the to instead of mailto and the URL encoded subject and body.

@joelekstrom
Copy link
Owner

Ah, nice find! Thank you. I will update Fastmate to use that format

@joelekstrom
Copy link
Owner

Fixed in v1.9.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants