• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Setting Opera Mail as default program in Windows 7 (64bit)

    Opera for Windows
    7
    46
    25370
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • burnout426
      burnout426 Volunteer last edited by

      It is not working here. I open the reg file but it does not wotk.

      which reg file did you try?
      The second link you posted.

      http://shadow2531.com/opera/wiki/opera_mail_protocol.reg.txt is the 2nd link I posted. But, it's the first reg file link I posted. The 2nd reg file link I posted was http://shadow2531.com/opera/wiki/operamail_win7x64_full.reg.txt

      So, which reg file link?

      Yes, and I edit it to the right installation folder(in the reg file).

      Did you reinstall Opera Mail over the top of itself first like mentioned in http://www.reddit.com/r/operabrowser/wiki/m2tips/default_programs (including installing for All Users)?

      Just curious, since you have 32-bit Win8, did you make sure Opera Mail is installed to "C:\Program Files\Opera Mail" where you edited the paths in the reg file to that?

      Reply Quote 0
        1 Reply Last reply
      • Deleted User
        Deleted User last edited by

        It is not working here. I open the reg file but it does not wotk.

        which reg file did you try?
        The second link you posted.

        http://shadow2531.com/opera/wiki/opera_mail_protocol.reg.txt is the 2nd link I posted. But, it's the first reg file link I posted. The 2nd reg file link I posted was http://shadow2531.com/opera/wiki/operamail_win7x64_full.reg.txt
        So, which reg file link?

        The first one, my windows is 32bit.

        Yes, and I edit it to the right installation folder(in the reg file).

        Did you reinstall Opera Mail over the top of itself first like mentioned in http://www.reddit.com/r/operabrowser/wiki/m2tips/default_programs (including installing for All Users)?
        Just curious, since you have 32-bit Win8, did you make sure Opera Mail is installed to "C:\Program Files\Opera Mail" where you edited the paths in the reg file to that?

        I edited to the one you said. Yes, I reinstalled.

        Reply Quote 0
          1 Reply Last reply
        • Deleted User
          Deleted User last edited by

          I edited the reg file several times and the only I could do it is to put Opera Mail as defaut to open MAILTO protocol, but when I try to open mailto, it does not happen nothing

          Reply Quote 0
            1 Reply Last reply
          • burnout426
            burnout426 Volunteer last edited by

            Thanks for the clarifications.

            I edited the reg file several times and the only I could do it is to put Opera Mail as defaut to open MAILTO protocol, but when I try to open mailto, it does not happen nothing

            Hmm, not sure why it works for some (and me), but not others.

            Reply Quote 0
              1 Reply Last reply
            • A Former User
              A Former User last edited by

              AFAIK there's a bug with the opening of mailto: links in Opera's latest versions. Which version were you using primarily when doing these tests @sidneyneto?

              Reply Quote 0
                1 Reply Last reply
              • Deleted User
                Deleted User last edited by

                AFAIK there's a bug with the opening of mailto: links in Opera's latest versions. Which version were you using primarily when doing these tests @sidneyneto?

                The latest Opera Mail standalone version.

                Reply Quote 0
                  1 Reply Last reply
                • burnout426
                  burnout426 Volunteer last edited by

                  Check all the paths in each of the following keys (and their sub-keys) to make sure they point to where your operamail.exe is at:

                  HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\OperaMail
                  HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaMail
                  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\OperaMail.protocol
                  HKEY_CURRENT_USER\Software\Classes\mailto
                  HKEY_CURRENT_USER\Software\Classes\Opera.Protocol
                  HKEY_CLASSES_ROOT\mailto
                  HKEY_CLASSES_ROOT\OperaMail.protocol

                  Also, make sure OperaMail is set in the (default) string in HKEY_CURRENT_USER\Software\Clients\Mail

                  Also, make sure HKEY_CLASSES_ROOT\Applications\operamail.exe is present and that it has the shell/open/command sub-keys with the (default) string's value in "command" key being "path to operamail.exe" "%1" (quotes included). Do the same with HKEY_CURRENT_USER\Software\Classes\Applications\operamail.exe

                  Also, look in "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\MAILTO" to make sure "operamail.exe" is listed in the "OpenWithList" sub-key. In the "OpenWithProgids" sub-key, Make sure the binary "URL:MailTo Protocol" is present (with its value set to nothing (as in, just the 0000) as that's what the default string's value in "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\OperaMail\Protocols\mailto" points to.

                  Make sure there's a string in "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\OperaMail\Protocols\mailto" that's "URL Protocol" with no value set. Make sure there's a dword named "EditFlags" (no quotes) with its value set to 2.

                  Also, make sure "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OperaMail.exe" is present and that its (Default) string's value is set to the path to operamail.exe (in quotes). There should also be a "Path" string where its value should be the path to the folder operamail.exe is in (with the trailing backslash and the path in quotes). There are no sub-keys to this OperaMail.exe key.

                  Also, in HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaMail\Capabilities\UrlAssociations there should be a "mailto" string where its value is set to OperaMail.Protocol. In "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaMail\Capabilities\Startmenu", there should be "Mail" and a "StartMenuInternet" strings strings with both their values set to "OperaMail" (minuse the quotes).

                  In "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\OperaMail", make sure the DLLPath string's value is the path to OperaMAPI.dll (do not quote the path). The (Default) string's value should be "OperaMail" (no quotes) and the "LocalizedString" string's value should be "OperaMail" (no quotes).

                  Make sure all that's right, restart the computer, go into Default Programs in Windows, choose "set default programs", select "Opera Mail" and then choose "set this program as default". Then, after that you can go back to "choose defaults for this program" to confirm and both mailto and MAPI are set. Then, you can go back to "associate file type and protocol" and confirm that mailto is associated with Opera Mail there too.

                  That might do the trick as long as you don't check the box in Opera Mail's preferences. If it still doesn't work, test to see if it fails just when Opera Mail is already open or not.

                  If that doesn't help still, maybe delete all the OperaMail keys in the registry and install Opera Mail again (for all users) and then add the Opera.Protocl reg keys etc.

                  The best wayt to really fix this is to pretend that operamail.exe is your program and research the microsoft docs for how to properly add it to the registry so that it's associated with mailto, news and MAPI. Then, maybe someone can write a script that you put next to operamail.exe where when you load the script, it adds all the necessary stuff to the registry for that operamail.exe.

                  Reply Quote 0
                    1 Reply Last reply
                  • burnout426
                    burnout426 Volunteer last edited by

                    Also, try adding the "Opera Mail" (or "OperaMail") string to HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications where its value is Software\Clients\StartMenuInternet\OperaMail\Capabilities.

                    Then, make sure HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaMail\Capabilities\UrlAssociations has the mailto string with "OperaMail.Protocol" (no quotes) as its value.

                    In "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\OperaMail\Capabilities", make sure there are ApplicationDescription, ApplicationIcon and ApplicationName strings in there. The icon one should have the path to operamail.dll,0.

                    Also, maybe add an "Opera Mail" (or "OperaMail" key to HKEY_LOCAL_MACHINE\SOFTWARE. (Look at the others in there for more info). Or, maybe add the "Opera Mail" (or "OperaMail") key under HKEY_LOCAL_MACHINE\SOFTWARE\Opera Software" instead where the "Opera Mail" (or "OperaMail") key has its "(Default)" string's value set to the path to operamail.exe (no quotes around path). Have a string InstallDir where its value is the path to the folder operamail.exe is in (again, no quotes).

                    I need to strip all Opera Mail stuff from my registry, install Opera Mail and see just exactly what's missing again.

                    Make sure HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OperaMail.exe is present too. Again, "(Default)" string's value should be the path to operamail.exe (path quoted) and Path string's value should be the path to the folder operamail.exe is in (path quoted).

                    Reply Quote 0
                      1 Reply Last reply
                    • burnout426
                      burnout426 Volunteer last edited by

                      Nevermind the above. Just download make_m2_default_client.zip, extract it, view the readme and merge. That should do the trick. (Basically researched how Thunderbird does it and copied it.)

                      Reply Quote 0
                        1 Reply Last reply
                      • Deleted User
                        Deleted User last edited by

                        look this:

                        Reply Quote 0
                          1 Reply Last reply
                        • burnout426
                          burnout426 Volunteer last edited by

                          look this:

                          Does clicking the first one work then?

                          Reply Quote 0
                            1 Reply Last reply
                          • Deleted User
                            Deleted User last edited by

                            look this:

                            Does clicking the first one work then?

                            No, it doesn't

                            Reply Quote 0
                              1 Reply Last reply
                            • burnout426
                              burnout426 Volunteer last edited by

                              No, it doesn't

                              Is the program files folder in your locale really named "Program Files"? If not, you'll need to make sure all the paths use the name you see in windows explorer.

                              For example, if it's "Arquivos de Programas", the paths need to be that. Or, you need to make all the strings that have paths be expanded strings in the reg file and use %ProgramFiles% in their values.

                              The best way to create an expanded string is to create a new key in the registry, right-click in its pane to create an expanded string. Then, enter the command "%ProgramFiles%\Opera Mail\operamail.exe" "%1" for its value and then export the key. Then, you can view the exported reg file in a text editor so you can copy it over to my example reg file.

                              For example, in a reg file, the expandable string Test with its value set to "%ProgramFiles%\Opera Mail\operamail.exe" "%1" would look like this:

                              "Test"=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,\
                                00,6c,00,65,00,73,00,25,00,5c,00,4f,00,70,00,65,00,72,00,61,00,20,00,4d,00,\
                                61,00,69,00,6c,00,5c,00,6f,00,70,00,65,00,72,00,61,00,6d,00,61,00,69,00,6c,\
                                00,2e,00,65,00,78,00,65,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00
                              
                              Reply Quote 0
                                1 Reply Last reply
                              • Deleted User
                                Deleted User last edited by

                                No, it doesn't

                                Is the program files folder in your locale really named "Program Files"? If not, you'll need to make sure all the paths use the name you see in windows explorer.
                                For example, if it's "Arquivos de Programas", the paths need to be that. Or, you need to make all the strings that have paths be expanded strings in the reg file and use %ProgramFiles% in their values.

                                I tried to put Arquivos de Programas in the path but still not working.

                                Reply Quote 0
                                  1 Reply Last reply
                                • burnout426
                                  burnout426 Volunteer last edited by

                                  I tried to put Arquivos de Programas in the path

                                  Is that the name of your program files folder or no?

                                  When you replace all the paths in the 32-bit reg file, are you replacing just "Program Files" with "Arquivos de Programas" or are you trying to replace the whole path with your new path? If the latter, you need to make sure things are escaped properly.

                                  Reply Quote 0
                                    1 Reply Last reply
                                  • leocg
                                    leocg Moderator Volunteer last edited by

                                    I tried to put Arquivos de Programas in the path but still not working.

                                    What about "Arquivos de Programas (x86)" or "‪C:\Program Files (x86)"?

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • Deleted User
                                      Deleted User last edited by

                                      My system is 32bit @leocg, I will try with putting %Program Files%. How do I do that? //%Program Files%// or %Program Files%. When I open Opera Mail folder and click address bar it changes from Arquivos de Programas to Program Files.

                                      Reply Quote 0
                                        1 Reply Last reply
                                      • burnout426
                                        burnout426 Volunteer last edited by

                                        What about "Arquivos de Programas (x86)" or "‪C:\Program Files (x86)"?

                                        Previous comment said he was using 32-bit 8.1, so that shouldn't be the case. But, won't hurt to check.

                                        Reply Quote 0
                                          1 Reply Last reply
                                        • burnout426
                                          burnout426 Volunteer last edited by

                                          //%Program Files%// or %Program Files%

                                          You'd replace C:\\Program files\\Opera Mail\\operamail.exe with %ProgramFiles%\\Opera Mail\\operamail.exe. But, it needs to be an expandable

                                          string like mention in my comment above. That shows how to do it. It's a little tedious though.

                                          I can create a new reg file for you that uses %ProgramFiles%. But, I probably won't be able to do it until tonight/tomorrow.

                                          When I open Opera Mail folder and click address bar it changes from Arquivos de Programas to Program Files

                                          In Windows Explorer, in C:, what's the name of the program files folder? Even if the address bar changes it to Program Files for you, I don't

                                          know if windows will automatically redirect Program Fiels to Arquivos de Programas for commands in the registry. This means that it might have to

                                          be Arquivos de Programas in the commands. Then again, you said that didn't work. If I make a reg file that uses %ProgramFiles%, you shouldn't

                                          have to worry.

                                          Then again though, the simple reg file I original posted with just the Opera.Protocol tweak didn't work for you. This might mean there's

                                          something extra that needs to be done for your setup for some reason.

                                          Reply Quote 0
                                            1 Reply Last reply
                                          • Deleted User
                                            Deleted User last edited by

                                            I think it is just about the configuration of the folders which need to be changed in reg file.

                                            Reply Quote 0
                                              1 Reply Last reply
                                            • First post
                                              Last post

                                            Computer browsers

                                            • Opera for Windows
                                            • Opera for Mac
                                            • Opera for Linux
                                            • Opera beta version
                                            • Opera USB

                                            Mobile browsers

                                            • Opera for Android
                                            • Opera Mini
                                            • Opera Touch
                                            • Opera for basic phones

                                            • Add-ons
                                            • Opera account
                                            • Wallpapers
                                            • Opera Ads

                                            • Help & support
                                            • Opera blogs
                                            • Opera forums
                                            • Dev.Opera

                                            • Security
                                            • Privacy
                                            • Cookies Policy
                                            • EULA
                                            • Terms of Service

                                            • About Opera
                                            • Press info
                                            • Jobs
                                            • Investors
                                            • Become a partner
                                            • Contact us

                                            Follow Opera

                                            • Opera - Facebook
                                            • Opera - Twitter
                                            • Opera - YouTube
                                            • Opera - LinkedIn
                                            • Opera - Instagram

                                            © Opera Software 1995-