Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
Message: 'mailto is not a registered protocol'
Posted by: emil.sekula
Date: May 15, 2009 08:52AM

Hello
Clicking in 'Send e-mail' link I have this message: 'mailto is not a registered protocol'. I have instaled Gmail Notifier so this link should open this program. Where is a problem ?
Regards

Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: desga2
Date: May 15, 2009 09:37AM

Set it in Tools -> Mail And News -> Configure Mail...

K-Meleon in Spanish

Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: emil.sekula
Date: May 18, 2009 10:49AM

It is confugured but it doesn't work: http://img196.imageshack.us/img196/6937/mail.png

Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: emil.sekula
Date: July 08, 2009 10:08AM

Any solution for this problem ?

Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: JujuLand
Date: July 08, 2009 11:16AM

For me (I don't use it), Gmail notifier is, as it's said a notifier, which is able also to launch the browser with the gmail url, but it's not a mail client, and I think the Gmail installer doesn't set the registry for mailto protocol.

I had have the same problem under Linux and wine, using Linux Thunderbird and K-Meleon under wine.

The trick I have found has been to modify the macros, and now it works, but a necessary thing to be able to do it is to know how the parameter is passed between Google notifier and K-Meleon ...

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: emil.sekula
Date: July 08, 2009 11:30AM

But I am not expert in writing macros. It means doesn't have it solution ?

Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: JujuLand
Date: July 08, 2009 12:04PM

I will post here the modifications I have made, if it can help.

This evening

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: emil.sekula
Date: July 15, 2009 04:04PM

This evening is veeeeery long.

Options: ReplyQuote
Re: Message: 'mailto is not a registered protocol'
Posted by: JujuLand
Date: July 15, 2009 07:13PM

Yes, really long ...

I have forgotten ...

Here is the modifications in mail.kmm.
I must first explain that the initial purpose was to unbreak all the mail functions under Linux (and wine), so I made a test to recognize on which system K-Meleon is running, and a second test send the good command.

The OS test : $_windows=readfile("Z:\\etc\\group"); returns "" if Windows, something if Linux

In your case, the test is not needed, as it doesn't work, but you must probably replace the default command (in the original file) by the Linux used command in my modifications.

Try it, but I'm not sure that the modif will works for you.

*********************************************************************************
Mail_ComposeMessage{
$_windows=readfile("Z:\\etc\\group");
$_windows==""?open("mailto:"):$__mailto=getpref(STRING,"kmeleon.plugins.macros.mail.mailClient");
$_windows==""?0:exec($__mailto." mailto:");
}

For example, Mail_ComposeMessage will be:

Mail_ComposeMessage{
exec(getpref(STRING,"kmeleon.plugins.macros.mail.mailClient")." mailto:");
}


Mail_SendPageURL{
macroinfo=_("Send a link to the current page by mail");
$_windows=readfile("Z:\\etc\\group");
$_windows==""?0:$__mailto=getpref(STRING,"kmeleon.plugins.macros.mail.mailClient");
$_windows==""?&JS_hndlTop:$_Location="mailtomoody smileysubject=".$TITLE."&body=".$URL;
$_windows==""?0:exec($__mailto." ".$_Location);
}

a second example, and you'll finish the rest:

Mail_SendPageURL{
macroinfo=_("Send a link to the current page by mail");
$_Location="mailtomoody smileysubject=".$TITLE."&body=".$URL;
exec(getpref(STRING,"kmeleon.plugins.macros.mail.mailClient")." ".$_Location);
}

You are now working on it smiling smiley, and continue with the rest

Mail_SendLinkURL{
macroinfo=_("Send the current link by mail");
$_windows=readfile("Z:\\etc\\group");
$_windows==""?$JS_doitLink="j=a.length;location='mailtomoody smileybody='+encodeURIComponent(href)":$__mailto=getpref(STRING,"kmeleon.plugins.macros.mail.mailClient");
$_windows==""?&JS_hndlLink:$_Location="mailtomoody smileysubject=".$LinkURL."&body=".$LinkURL;
$_windows==""?0:exec($__mailto." ".$_Location);
}


Mail_SendImageURL{
macroinfo=_("Send a link to the current image by mail");
$_windows=readfile("Z:\\etc\\group");
$_windows==""?$JS_doitImage="a=false;location='mailtomoody smileysubject='+encodeURIComponent((title)?titlesad smiley(alt)?alt:document.title))+'&body='+encodeURIComponent(src)":$__mailto=getpref(STRING,"kmeleon.plugins.macros.mail.mailClient");
$_windows==""?$JS_doitInput=$JS_doitImage:0;
$_windows==""?&JS_hndlImage:$_Location="mailtomoody smileysubject=Image >> ".$ImageURL."&body=".$ImageURL;
$_windows==""?0:exec($__mailto." ".$_Location);
}


Mail_SendFrameURL{
macroinfo=_("Send a link to the current frame by mail");
$_windows=readfile("Z:\\etc\\group");
$_windows==""?$JS_doit="location='mailtomoody smileysubject='+encodeURIComponent(title)+'&body='+encodeURIComponent(URL)":$__mailto=getpref(STRING,"kmeleon.plugins.macros.mail.mailClient");
$_windows==""?&JS_hndlDoc:$_Location="mailtomoody smileysubject=".$TITLE."&body=".$LinkURL;
$_windows==""?0:exec($__mailto." ".$_Location);
}


Mail_SendSelection{
macroinfo=_("Send the selected text by mail");
$_windows=readfile("Z:\\etc\\group");
$_windows==""?$JS_doit="if(window.getSelection())location='mailtomoody smileysubject='+encodeURIComponent(title)+'&body='+encodeURIComponent(window.getSelection())":0;
$_windows==""?0:$__mailto=getpref(STRING,"kmeleon.plugins.macros.mail.mailClient");
$SelectedText==""?0:&Mail_ExecSelect;
}

Mail_ExecSelect{
$_windows==""?&JS_hndlDoc:$_Location="mailtomoody smileysubject=".$TITLE."&body=".$SelectedText;
$_windows==""?0:exec($__mailto." ".$_Location);

}
**********************************************************************************

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc





Edited 1 time(s). Last edit at 07/15/2009 07:20PM by JujuLand.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.