Mailto-to-webmail
Tuesday, July 11, 2006 12:57:27 PM
[2008-09-26: updated to better show way to do this in 9.5]
For those of you who've switched to using web-based mail, it might not be intuitive how to use links with "mailto:" URLs. You'll have to change the handling of mailto-links, to pass the address to a webmail service, instead of a mail application on your computer.
In Tools > Preferences > Advanced > Programs, select 'mailto' and press 'Edit'. Enter 'opera' in the 'other application' field. Then use the addresses below to put in the 'Parameter' field:
Note: in Opera 9.2, you put both together in the single field, as in 'opera "http://etc"' (without the single quotes).
GMail
Hotmail
Yahoo Mail
Netscape Mail
Mail.com
Opera Web Mail
Horde
Squirrelmail
Generic
Test: mailto-link
Button: toggle between M2 and webmail -in theory at least, this makes my Opera 9 crashy...
For those of you who've switched to using web-based mail, it might not be intuitive how to use links with "mailto:" URLs. You'll have to change the handling of mailto-links, to pass the address to a webmail service, instead of a mail application on your computer.
In Tools > Preferences > Advanced > Programs, select 'mailto' and press 'Edit'. Enter 'opera' in the 'other application' field. Then use the addresses below to put in the 'Parameter' field:
Note: in Opera 9.2, you put both together in the single field, as in 'opera "http://etc"' (without the single quotes).
GMail
http://mail.google.com/mail/?view=cm&fs=1&to=%t&su=%s&body=%m&cc=%c&bcc=%b
Hotmail
http://hotmail.msn.com/cgi-bin/compose?To=%t&Subject=%s&Body=%m&Cc=%c&mailto=1
Yahoo Mail
http://compose.mail.yahoo.com/?To=%t&Subject=%s&Body=%m&Cc=%c
Netscape Mail
http://webmail.netscape.com/compose.adp?mailto=%t&mailcc=%c&mailsubject=%s&mailbody=%m
Mail.com
http://mail01.mail.com/scripts/mail/Outblaze.mail?composeto=%t&subject=%s&body=%m&cc=%c&compose=1
Opera Web Mail
http://mymail.operamail.com/scripts/mail/Outblaze.mail?compose=1&did=1&a=1&to=%t&subject=%s&body=%m&cc=%c
Horde
opera "http://YOUR_HordeURL_HERE.com/horde/imp/compose.php?popup=0&to=%t&cc=%c&msg=%m&subject=%s"
Squirrelmail
http://YOUR_SquirrelURL_HERE.com/src/compose.php?send_to=%t&subject=%s&body=%m&send_to_cc=%c
Generic
http://YOUR_URL_HERE/?To_Field=%t&Subject_Field=%s&Body_Field=%m&Cc_FLield=%c
Test: mailto-link
Button: toggle between M2 and webmail -







1 2 Next »
PaiTrakt # Tuesday, July 11, 2006 2:36:37 PM
FataL # Tuesday, July 11, 2006 5:33:05 PM
Mihai Sucanrobodesign # Tuesday, July 11, 2006 7:36:47 PM
Ankuryadavankur # Thursday, July 13, 2006 6:28:34 AM
Rijk # Thursday, July 13, 2006 2:15:23 PM
Maybe using a custom button to make it easy. I've added one to the post, but it tends to crash my copy of Opera - time to file a bug report for me!
Note that all this is of course only interesting if you encounter mailto-links a lot.
Ryan McCabermccabe916 # Friday, July 14, 2006 5:40:50 AM
P.S.: I really, really like your Twelve setup. Thank you for taking the time to make it. Browsing is so much easier.
Idan AdarYtseJam # Saturday, July 15, 2006 8:51:09 AM
There is no way to handle this then...
Rijk # Saturday, July 15, 2006 11:26:57 PM
This is somewhat like asking why Opera can't be set up to use multiple external mailers.... If want to send mailto-links sometimes to Eudora and sometimes to Thunderbird, that also requires either copy and paste, or manually changing the setting before clicking the link.
Naftali GuttmanProfSeuss # Sunday, July 16, 2006 6:30:15 AM
Copy+paste is from the field of DTP, surfing the net means seamlessly moving by clicking links. What you suggest is an improvisation.
Sorry :-(
Rijk # Sunday, July 16, 2006 2:14:08 PM
Naftali GuttmanProfSeuss # Sunday, July 16, 2006 6:00:09 PM
This is clearly not your fault and I'll refer this complaint to Opera developers.
MikeHaugland # Thursday, July 20, 2006 5:16:11 AM
I say this because I can't manually edit the 'Other Application' field. I can only change it by selecting a file from my computer.
Sarah angel292005 # Sunday, September 17, 2006 2:08:43 AM
adrianadrian1234 # Friday, January 26, 2007 6:48:39 AM
In Library/Preferences/Opera Preferences/ is a file called "Opera 9 Preferences". Shut down Opera, pop this file open in a text editor, search for the lines:
[Trusted Protocols]
itpc=0,0,
mailto=0,0,
telnet=0,0,telnet
tn3270=0,0,telnet
Paste in opera "http://mail.google.com/mail/?view=cm&fs=1&to=%t&su=%s&body=%b&cc=%c" to create:
mailto=0,0,opera "http://mail.google.com/mail/?view=cm&fs=1&to=%t&su=%s&body=%b&cc=%c"
(or whatever your webmail of choice is from the post above)
Close the file, open Opera, and the advanced/programs/mailto prefs should be updated, just as if you had typed it in. One minor detail: It still doesn't work! I get this error: Unable to start the external e-mail application
opera "http://mail.google.com/mail/?view=cm&fs=1&to=%t&su=%s&body=%b&cc=%c"
Anyway, here's hoping that perhaps there is a line in that file or some other file that I missed that will get this to work on Mac. Anybody? Please? Maybe?
Actually, what would be even better is if Opera could fix this on the Mac version. This isn't the only preferences field where this occurs. Edit Site Prefs / Display / My style sheet is another: it only lets you browse to a file, not type or paste in the field.
Nexus009 # Tuesday, January 30, 2007 12:02:38 PM
MyOpera team, please fix this!fearphage # Sunday, February 4, 2007 10:49:45 PM
If you add '&tf=1', it opens just the email to send. Once sent, the window/tab is closed. Without tf=1, after sending email you have a new gmail tab at your inbox.
Rijk # Sunday, February 4, 2007 10:56:12 PM
MyOpera team, please fix this!fearphage # Monday, February 5, 2007 12:47:35 AM
Alexodius PrimeAleksOD # Friday, February 9, 2007 1:50:32 PM
Jenn_3147 # Wednesday, February 21, 2007 2:42:11 PM
fdisk2k # Wednesday, March 21, 2007 12:24:40 AM
This should be in a Sticky in the forum.
Pawelc1201298 # Thursday, April 5, 2007 10:05:10 AM
MyOpera team, please fix this!fearphage # Thursday, April 5, 2007 2:03:43 PM
Knut Remi "DrLaunch" Løvlidrlaunch # Tuesday, May 1, 2007 1:00:28 PM
But how can I use the mail button on my keyboard launch gmail?
MyOpera team, please fix this!fearphage # Tuesday, May 1, 2007 1:17:58 PM
Knut Remi "DrLaunch" Løvlidrlaunch # Tuesday, May 1, 2007 2:11:58 PM
So I used TweakUI to change the path for the mail button to a shortcut I made. Works too.
jonlandrum # Friday, June 15, 2007 1:39:57 AM
MyOpera team, please fix this!fearphage # Sunday, June 24, 2007 5:05:22 PM
no encoding
escape()
encodeURIComponent()
This is the raw format: I've tried switching between '&' and '&'.
For me, the result is the body parameter in the url (&body=) is empty and therefore the body of the email is empty. I'm using gmail.
Timothy ConnerVJgamer # Friday, August 3, 2007 9:06:04 PM
http://www.opera.com/support/search/view/472/
and
http://www.opera.com/support/search/view/260/
The latter of which displays the right attributes. The body is actually %m. %b is BCC.
The correct setting for Gmail would be:
One problem is that if the body contains escaped characters like %3D it will be unescaped to =, which will mess the body up sometimes anyway. For example this link will break the Gmail setting.
YouTube Sample
MyOpera team, please fix this!fearphage # Sunday, August 5, 2007 9:59:56 PM
You forgot to include '&bcc=%b' and I put body last since its most likely to be messed up. '%0A' is the convention for a newline in an email but it totally messes up in Opera.
Example:
all fields mailto
multiple recipientsThis works but the one above fails
broken subject
Code from examples above (in order):
I haven't filed any bugs because I haven't verified if this is an Opera issue or something to do with gmail. Anyone see similar issues with other mail providers?
Rijk # Monday, August 6, 2007 12:01:09 AM
Kamaleshkamalesh # Saturday, September 15, 2007 5:24:24 PM
o View inbox
o Compose mail
o Enables MAILTO links
o Notifies on new mail
Works well in the Kestrel builds.
MyOpera team, please fix this!fearphage # Saturday, September 15, 2007 6:11:43 PM
Yea, I was just noticing that this method is no longer functional in Opera. One or maybe the only problem is that Opera refuses to save the quotation marks around the parameters in the protocol edit dialog. So something with spaces in it opens a new tab for every space.
EDIT: When I initially opened this dialog, it seemed to improperly import my old settings.
It changed
to opera as the program and the parameter wasNotice 0 quotation marks before the param and 2 at the end. I tried fixing this with 2 at the beginning and they are stipped away while the 2 at the end remain. 1 quotation mark at the beginning and the end causes both of them to be stripped away.
Samarsamystic # Saturday, September 15, 2007 7:55:06 PM
Moonbarker Osbourne # Tuesday, October 2, 2007 10:27:47 PM
http://hotmail.msn.com/cgi-bin/compose?To=%t&Subject=%s&Body=%b&Cc=%c&mailto=1
in the specified field, trying that URL both with and without quote marks, but when I click on an e-mail link, both the "Test: mailto-link" here and a link to my own e-mail, I get the follwing error message. What's wrong?
Unable to start the external e-mail application
http://hotmail.msn.com/cgi-bin/compose?To=Rufinoform1@hotmail.com&Subject=&Body=&Cc=&mailto=1
The system cannot find the file specified.
Rijk # Wednesday, October 3, 2007 3:53:03 PM
Eric Bladeeblade # Tuesday, November 6, 2007 7:35:42 PM
Eric Bladeeblade # Wednesday, November 7, 2007 3:58:54 PM
Vague Rantinvagrante # Thursday, November 8, 2007 8:34:49 AM
Any idea what "ik" is? As long as it's nothing personal, I'll post the link I've been using.
Vague Rantinvagrante # Wednesday, November 14, 2007 11:32:52 AM
alanhoyle # Tuesday, November 27, 2007 9:57:25 PM
opera -newpage "http://mail.google.com/mail/?view=cm&fs=1&to=%t&ui=1"
Rijk # Wednesday, November 28, 2007 10:29:10 PM
For Opera 9.5, you need to use the parameter field for the parameter.
Timothy ConnerVJgamer # Thursday, January 10, 2008 5:27:19 AM
%b = BCC
%c = CC
%m = Body (I assume m is for message!)
%s = Subject
%t = To
This mixup is because of a couple of conflicting help files.
http://www.opera.com/support/search/view/472/
and
http://www.opera.com/support/search/view/260/
The latter of which displays the correct variables.
I think it would be wise to update your tutorial.
Rijk # Thursday, January 10, 2008 11:02:25 PM
Timothy ConnerVJgamer # Tuesday, January 15, 2008 5:33:17 AM
Rijk # Tuesday, January 15, 2008 11:17:59 AM
Rory Brenandogred # Tuesday, January 22, 2008 5:04:56 AM
Jimjjulagay # Thursday, March 6, 2008 7:12:10 PM
Other than that thanks.
Knut Remi "DrLaunch" Løvlidrlaunch # Thursday, March 6, 2008 8:07:34 PM
Rijk # Thursday, March 6, 2008 8:20:48 PM