1
votes

I want to know is there any way to get any machine's default email client?
In chrome when I click on a link with the mailto attribute, it opens with Gmail compose mail(not with machine's default email client).

But I want it to open that link with that machine's default email client.

E.g.

mailto:[email protected]?..... // all parameters

Is there any extra parameter I need to pass on that link?
Can anyone tell me how I can achieve this?

1
Have you tried using protocol handler? - guest271314
by default it does open through user's default email client. Maybe you've overwritten your browsers defaults to gmail. - xxfast
@guest271314 : No, I never heard about it. Can you tell me how to use it ? - Rahul
@IsuruKusumal : No, its actually showing outlook is default mail client. - Rahul

1 Answers

2
votes

It depends on the browser settings. You can't change it using JavaScript.

Have a look at http://www.makeuseof.com/tag/how-to-change-the-default-email-program-for-mailto-links/