mailto: how to use opera mail client on windows 8 as a mailto: target

Posted on 2013-09-11
Medium Priority
Last Modified: 2013-09-12
I have a new windows 8 system on a machine that runs a php script to generate an email through the mailto: function.

I set Opera Mail up as my client and made it the default mail client.  I've tested it and it works.

When I execute the php script I'm given a choice of 3 destinations for the mailto:, none of them are Opera Mail.  

How do I direct this to Opera Mail?  Is there another client that would work better?

I'm sending the to:, subject:, from:, and body: segments.


Joe Todd
Question by:JoeTodd
  • 4
  • 2
LVL 84

Expert Comment

by:Dave Baldwin
ID: 39485190
'mailto:' doesn't require or even use PHP.  It uses your default email client thru your browser.  It would be put as the 'action' of a form like this:
<!DOCTYPE html>

<h3>Send e-mail to Submit Info Page:</h3>

<form action="mailto:you@yoursite.com" method="get" enctype="text/plain">
<input name="subject" type="hidden" value="Message Title">
<textarea name="body" cols="40">
Type your message here.
<input type="submit" value="Send">


Open in new window


Author Comment

ID: 39485242
Perhaps my question was poorly worded.  

I realize that PHP isn't the issue.  My php actually uses javascript to invoke the mailto: function.  This works under all other versions of Windows with outlook express as the default email client.

The problem I'm having on Windows 8 is getting the mailto: to  reach my default email  client.  When I execute  the script I get a window with the following  statement and options:

-- How do you want to open this type of Link(mailto:)

- Google  Chrome
- Mail
- Look for an app in the store

What I need is for the mailto: function to be directed to my default client, which is  Opera Mail.  My  question is how to get the mailto: function routed properly.  The reference to issuing it from PHP was not intended to be distracting.

Google Chrome probably came up because it's  the default browser.
"Mail" probably came up because Microsoft likes it that way.
Lord knows why I would look for an app in the store when  I already have one I like, but the option is there anyway.

Joe Todd
LVL 84

Expert Comment

by:Dave Baldwin
ID: 39485260
Take the page I posted and run it and tell me what it says.  That's as basic as it gets.  I know that in Firefox, I can set the client that opens for 'mailto'.  For Internet Explorer it should be using the system assignment for 'mailto' protocol, at least it always has before.  Chrome also uses system settings for a lot of things.  Which browser are you using?
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

LVL 84

Accepted Solution

Dave Baldwin earned 800 total points
ID: 39485271
For what it's worth, on my computer IE, Chrome and Opera will open Outlook Express because that is the 'mail' program set in Internet Options.  Firefox will open Thunderbird because that is what I have set in Firefox Applications.  And SeaMonkey, a Firefox derivative, will open SeaMonkey Mail.

Author Closing Comment

ID: 39487191
The code snippet you provided brings up Microsoft Mail.

After some more frustrating searching, it looks like my preferred email client, Opera Mail, can't be set as the default in Windows 8.  Depending on my default browser (I've tried FireFox, IE, Chrome, and Opera), and the email client I choose, the mailto: function seems to get directed either to MS Mail or the choice screen I mentioned above.  

Looks like my path will be to find another email client besides Microsoft Mail that I like.
Thanks for your help,
LVL 84

Expert Comment

by:Dave Baldwin
ID: 39487987
You're welcome, thanks for the points.  Problems like this are why websites rarely use the 'mailto' protocol in a web form.  They usually use a server-side script that can send email thru the web server.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

619 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question