soveryapt Posted April 25, 2017 Posted April 25, 2017 Good afternoon all Long time no post. I'm looking to set office 365 as being the default action for email links. So far, I've managed to get the following to work to some extent: ftype mailto="C:\Program Files\Google\Chrome\Application\chrome.exe" "https://outlook.office.com/?path=/mail/action/compose&to=%1" which I've run from an elevated Command Prompt in Windows 7. This now gets email links to open when clicked using Office 365 in Chrome, it opens the Compose window in Office 365, but then the email link has "mailto:" stuck on the start, as obviously it's pulling the whole link through and not discarding that bit of it. Does anyone have any idea how I might do this and get rid of the mailto: bit of the address? Thanks Andy
soveryapt Posted May 2, 2017 Author Posted May 2, 2017 A little bump, anyone? (can you tell I'm back in that school today! lol) Thanks Andy
saritonin Posted November 20, 2018 Posted November 20, 2018 I ran across your post while looking for a solution to the same problem. I'm adding an answer for the next person who may stumble onto the same issue, but unfortunately it's not a happy one. The protocol handler is set up to send the contents of the link to the app of your choice, but "An important caveat to note is that the browser sends the entire contents of the href attribute to your app. This includes the protocol, so you'll need to clear out that out before doing anything with the data." So it looks like it's up to Microsoft to make the web app handle stripping out the mailto: bit. source: https://mattwest.io/registering-protocol-handlers-to-intercept-special-links
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now