[sylpheed:35241] Re: Mailto syntax (Opera)
Michael A. Puls II
shadow2531 at gmail.com
Thu May 10 09:02:13 JST 2012
On 5/9/2012 11:22 AM, Gene Goldenfeld wrote:
> Thanks for the ideas and link, but not quite a go.
Reinstall Sylpheed and use the "register mailto" option in the installer
to make sure Sylpheed's keys in the registry are O.K.
Then, goto Start -> default programs". Under "Set your default
programs", choose "Sylpheed" and then choose "set as default".
Then, under "associate file type or protocol with program" in "Default
programs", make sure "mailto" at the bottom of the list is associated
with Sylpheed.
In the registry in "HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail", make sure
the "(Default)" string's value is set to "Sylpheed".
Make sure the Sylpheed key at
"HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Sylpheed" is present.
Take note of the command in
"HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Sylpheed\Protocols\mailto\shell\open\command".
It'll be:
"C:\Program Files (x86)\Sylpheed\sylpheed.exe" --compose "%1"
Make sure that in "HKEY_CURRENT_USER\Software\Clients\Mail", the
"(Default)" string's value is "Sylpheed".
There won't be a Sylpheed sub-key under
"HKEY_CURRENT_USER\Software\Clients\Mail" probably.
Now, in "HKEY_CURRENT_USER\Software\Classes\mailto\DefaultIcon", set the
"(Default)" string's value to:
C:\Program Files (x86)\Sylpheed\sylpheed.exe,0
Then (and this is the part that'll make it work), in
"HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\command", set the
"(Default)" string's value to:
"C:\Program File (x86)\Sylpheed\sylpheed.exe" --compose "%1"
(Not sure why that key isn't being set to sylpheed when sylpheed gets
set as the default in "Default Programs".)
Then, restart Opera.
You'll then find that the "open with default application" command in
Opera will show:
"C:\Program File (x86)\Sylpheed\sylpheed.exe" --compose "%1"
for the command.
Yes, it'll be grayed out and undeditable. "Open with other application"
isn't supposed to be editable as the command is gotten from the registry.
Launching a mailto URI in Opera will now open in Sylpheed even if
sylpheed is open.
Just for extra good measure, make sure the "(Default)" string's value in
"HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mailto\shell\open\command" is set to:
"C:\Windows\system32\rundll32.exe"
"C:\Windows\system32\url.dll",MailToProtocolHandler %l
Now, for Opera's "open with other application", I set "C:\Program Files
(x86)\Sylpheed\sylpheed.exe" as the program.
I then put:
--compose mailto:%t?subject=%s&body=%m&cc=%c&bcc=%c
in the param field.
I tested and the mailto URI in Opera is opened in Sylpheed whether
sylpheed is already opened or not.
So, that works fine for me.
Note that if you're using the 32bit version of Win7, your sylpheed paths
will be "C:\Program Files" instead of "C:\Program Files (x86)".
*If* mailto URIs still are not opening in Sylpheed when it's open (and
only when it's closed), it might be a DDE issue. Make sure the
"(Default)" string value under
"HKEY_CURRENT_USER\Software\Classes\mailto\shell\open\ddeexec" and its
sub-keys are all empty.
Hope that helps.
(I tested on Win7 x64 with Opera 11.62 Final and
Sylpheed-3.2beta7_setup. Didn't test in Opera 12 yet.)
--
Michael
More information about the Sylpheed
mailing list