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

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.

Thanks

Joe Todd
JoeToddAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
'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>
<html>
<body>

<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">
Message:<br/>
<textarea name="body" cols="40">
Type your message here.
</textarea>
<input type="submit" value="Send">
</form>

</body>
</html> 

Open in new window

0
JoeToddAuthor Commented:
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.

Thanks,
Joe Todd
0
Dave BaldwinFixer of ProblemsCommented:
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?
0
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Dave BaldwinFixer of ProblemsCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JoeToddAuthor Commented:
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,
Joe
0
Dave BaldwinFixer of ProblemsCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Clients

From novice to tech pro — start learning today.