Can We Specify A Particular Email Client While Using Href=mailto?
Solution 2:
It will open in the system's default email client. If the user does not have one selected, there's nothing you can do about it.
Solution 3:
There is much more you can use, but each system will act differently, for example in mine, I set up that all mailto links would open GMail.
mailto
is a call to open the default mail browser, like using a link in a windows application will open the default browser and not a special browser if you have more installed.
The best way is always to create a form and send it by, either using the web server internal SMTP or using one of so many free scripts out there that sends everything in the form to a specify email.
and by the way, you can compose more than just the email address
<ahref="mailto:me@domain.com?subject=Call me&body=Call me to this number:">
call me</a>
Solution 4:
You, as the site author, have no say. A mailto: link is supposed to launch the user's default mail program. Some users don't have a mail program though (think webmail users.)
The solution is to not use mailto: links but instead create a server-side form on your site, that does the actual mail sending.
Solution 5:
On a Windows machine the [HKEY_CLASSES_ROOT\mailto\shell\open\command] contains the path to what program will open mailTo links. As such, it's not always the default mail program. I agree with Balexandre's idea that a web form gives you the most control though.
Post a Comment for "Can We Specify A Particular Email Client While Using Href=mailto?"