twocanoes/xcreds

mailto: links in XCreds menu

Opened this issue · 0 comments

I'm trying to add a mailto: link as an XCreds menu item. When I click the menu item in XCreds, I get a Finder error: "The file can't be found." If I run open -u "mailto:support@example.com?subject=Test from XCreds&body=This is a simple test ticket from XCreds." it drafts a new email in Outlook with the mail to, subject, and body filled in.

I would expect clicking the link in XCreds to work similarly to running it in Terminal with open -u

Here's what I have in my mobileconfig profile:

<key>menuItems</key>
<array>
	<dict>
		<key>linkOrAppPath</key>
		<string>mailto:support@example.com?subject=Test from XCreds&amp;body=This is a simple test ticket from XCreds.</string>
		<key>menuItemName</key>
		<string>Email IT</string>
		<key>separatorAfter</key>
		<false/>
		<key>separatorBefore</key>
		<false/>
	</dict>
</array>