Mailto-to-webmail
Tuesday, 11. July 2006, 12:57:27
In Tools > Preferences > Advanced > Programs, select 'mailto' and press 'Edit'. Then use the command lines below to put in the 'Other application' field:
Note: for Opera 9.5, you need to enter the URL parameter in the parameter field.
GMail
opera "http://mail.google.com/mail/?view=cm&fs=1&to=%t&su=%s&body=%m&cc=%c&bcc=%b&ui=1"
Hotmail
opera "http://hotmail.msn.com/cgi-bin/compose?To=%t&Subject=%s&Body=%m&Cc=%c&mailto=1"
Yahoo Mail
opera "http://compose.mail.yahoo.com/?To=%t&Subject=%s&Body=%m&Cc=%c"
Netscape Mail
opera "http://webmail.netscape.com/compose.adp?mailto=%t&mailcc=%c&mailsubject=%s&mailbody=%m"
Mail.com
opera "http://mail01.mail.com/scripts/mail/Outblaze.mail?composeto=%t&subject=%s&body=%m&cc=%c&compose=1"
Opera Web Mail
opera "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
opera "http://YOUR_SquirrelURL_HERE.com/src/compose.php?send_to=%t&subject=%s&body=%m&send_to_cc=%c"
Generic
opera "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 -
By PaiTrakt, # 11. July 2006, 14:36:37
By FataL, # 11. July 2006, 17:33:05
By robodesign, # 11. July 2006, 19:36:47
By yadavankur, # 13. July 2006, 06:28:34
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.
By Rijk, # 13. July 2006, 14:15:23
P.S.: I really, really like your Twelve setup. Thank you for taking the time to make it. Browsing is so much easier.
By rmccabe916, # 14. July 2006, 05:40:50
There is no way to handle this then...
By YtseJam, # 15. July 2006, 08:51:09
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.
By Rijk, # 15. July 2006, 23:26:57
Copy+paste is from the field of DTP, surfing the net means seamlessly moving by clicking links. What you suggest is an improvisation.
Sorry :-(
By ProfSeuss, # 16. July 2006, 06:30:15
By Rijk, # 16. July 2006, 14:14:08
This is clearly not your fault and I'll refer this complaint to Opera developers.
By ProfSeuss, # 16. July 2006, 18:00:09
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.
By MikeHaugland, # 20. July 2006, 05:16:11
By angel292005, # 17. September 2006, 02:08:43
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.
By adrian1234, # 26. January 2007, 06:48:39
By Nexus009, # 30. January 2007, 12:02:38
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.
By fearphage, # 4. February 2007, 22:49:45
By Rijk, # 4. February 2007, 22:56:12
By fearphage, # 5. February 2007, 00:47:35
By AleksOD, # 9. February 2007, 13:50:32
By _3147, # 21. February 2007, 14:42:11
This should be in a Sticky in the forum.
By fdisk2k, # 21. March 2007, 00:24:40
By c1201298, # 5. April 2007, 10:05:10
By fearphage, # 5. April 2007, 14:03:43
But how can I use the mail button on my keyboard launch gmail?
By drlaunch, # 1. May 2007, 13:00:28
By fearphage, # 1. May 2007, 13:17:58
So I used TweakUI to change the path for the mail button to a shortcut I made. Works too.
By drlaunch, # 1. May 2007, 14:11:58
By jonlandrum, # 15. June 2007, 01:39:57
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.
By fearphage, # 24. June 2007, 17:05:22
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
By VJgamer, # 3. August 2007, 21:06:04
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?
By fearphage, # 5. August 2007, 21:59:56
By Rijk, # 6. August 2007, 00:01:09
o View inbox
o Compose mail
o Enables MAILTO links
o Notifies on new mail
Works well in the Kestrel builds.
By kamalesh, # 15. September 2007, 17:24:24
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.
By fearphage, # 15. September 2007, 18:11:43
By samystic, # 15. September 2007, 19:55:06
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.
By Moonbarker Osbourne, # 2. October 2007, 22:27:47
By Rijk, # 3. October 2007, 15:53:03
By eblade, # 6. November 2007, 19:35:42
By eblade, # 7. November 2007, 15:58:54
Any idea what "ik" is? As long as it's nothing personal, I'll post the link I've been using.
By Vague_Rant, # 8. November 2007, 08:34:49
By Vague_Rant, # 14. November 2007, 11:32:52
opera -newpage "http://mail.google.com/mail/?view=cm&fs=1&to=%t&ui=1"
By alanhoyle, # 27. November 2007, 21:57:25
For Opera 9.5, you need to use the parameter field for the parameter.
By Rijk, # 28. November 2007, 22:29:10
%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.
By VJgamer, # 10. January 2008, 05:27:19
By Rijk, # 10. January 2008, 23:02:25
By VJgamer, # 15. January 2008, 05:33:17
By Rijk, # 15. January 2008, 11:17:59
By dogred, # 22. January 2008, 05:04:56
Other than that thanks.
By jjulagay, # 6. March 2008, 19:12:10
By drlaunch, # 6. March 2008, 20:07:34
By Rijk, # 6. March 2008, 20:20:48