Rahul
Rahul

Reputation: 18557

How to link mailto with default email client?

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?

Upvotes: 1

Views: 3026

Answers (1)

Amir
Amir

Reputation: 242

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/

Upvotes: 2

Related Questions