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

[Bug] Support more behavior for mailto: links #291

Closed
3 of 4 tasks
nmanngit opened this issue Jul 24, 2024 · 3 comments
Closed
3 of 4 tasks

[Bug] Support more behavior for mailto: links #291

nmanngit opened this issue Jul 24, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request fixed Issues that have been fixed in the unreleased versions.

Comments

@nmanngit
Copy link

nmanngit commented Jul 24, 2024

Describe the bug
Other mail clients, including Windows Mail, support more behavior for mailto: links, such as setting multiple recipients and including recipients in the ?to attribute. Setting multiple recipients crashes the app, using ?to won't fill out the recipients.

Expected behavior
If I understand it correctly, in terms of RFC 6068 the following should be possible:

Additional context
Old Outlook only supports ; as a separator for some reason, new Outlook and Windows Mail support both , and ; while Apple Mail seems to only support , as in the spec.

In addition, some clients support adding the recipients name to the mail address. This can somethimes be helpful. Even though Apple Mail and Outlook new seem to support it, it doesn't seem to be in the spec:

❓ mailto:Test<[email protected]>

@nmanngit nmanngit added the bug Something isn't working label Jul 24, 2024
@bkaankose bkaankose added enhancement New feature or request and removed bug Something isn't working labels Jul 26, 2024
@Tiktack Tiktack assigned Tiktack and unassigned bkaankose Aug 8, 2024
@bkaankose
Copy link
Owner

There is one problem with improving this one: dotnet/runtime#30300

WinRT delivers the protocol activation link to Wino as Uri. Since the Uri will be invalid due to the issue described above, Wino can only support as many as it can extract. We can't create our own parser around the plain protocol link since we don't have access to it.

@Tiktack's PR #310 improves the existing mailto links, but can't resolve all unfortunately.

@Tiktack
Copy link
Collaborator

Tiktack commented Aug 10, 2024

Supported use cases can be seen below ( Use cases with "Uri issue" is not working due to runtime issue mentioned by @bkaankose):
image

@Tiktack Tiktack added the fixed Issues that have been fixed in the unreleased versions. label Aug 10, 2024
@bkaankose
Copy link
Owner

v1.9.0 that addressed this issue is released to the Store. Please re-test and re-open if you can still reproduce it.

Closing as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed Issues that have been fixed in the unreleased versions.
Projects
None yet
Development

No branches or pull requests

3 participants