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

Add mailto support in openExternal function #117

Open
fbricon opened this issue Mar 31, 2022 · 2 comments
Open

Add mailto support in openExternal function #117

fbricon opened this issue Mar 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@fbricon
Copy link

fbricon commented Mar 31, 2022

I tried something like window.ddClient.host.openExternal('mailto:[email protected]'), but nothing happens when invoking that bit.
I found electron/electron#1083, that might be related (or not)
I tried with and without having a Mail client installed on my mac.
There are no errors in the console.

@gtardif
Copy link
Contributor

gtardif commented May 9, 2022

Thanks for the feedback, the SDK currently supports only opening http:// or https:// urls.
We'll at least add clear error messages in the console for URLs that are not supported, and see if we want to expand the list of supported urls to include mailto:// urls

@benja-M-1
Copy link
Member

Since version 4.9.0, using another protocol than HTTPS or HTTP an error is thrown by the openExternal function.

As of now, this becomes a feature request :)

@benja-M-1 benja-M-1 added the enhancement New feature or request label Jun 27, 2022
@benja-M-1 benja-M-1 changed the title Mailto: openExternal doesn't work Add mailto support in openExternal function Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants