![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Is it possible to get mailto-links on webpages to open a roundcube mail compose window?
|
|
#2
|
|||
|
|||
|
Browser-based mailto links pull from the user's default mail client on their machine. The browser knows this information and therefore activates the program upon clicking a mailto link for the user's default mail client. I can say that I am nearly 100% confident this is not possible.
|
|
#3
|
|||
|
|||
|
I found it actually is possible (in Firefox at least) using the webmailcompose extension.
|
|
#4
|
|||
|
|||
|
It IS possible - Yahoo! Web-based e-mail uses this. All you have to do is download a little file they have onto your computer and whenever you click on a mailto link, a new browser window with your Yahoo! Webmail opens and the "to" and "subject" (if specified in the link) fields are filled out (if you are already logged into your Yahoo! mail account, of course - otherwise it will just take you to the login screen).
|
|
#5
|
|||
|
|||
|
gmail does a similar thing but this would require roundcube to create a desktop applet, i don't believe they have any plans for this at present.
|
|
#6
|
|||
|
|||
|
WebMailCompose works with Firefox if you apply my patch below. First, get WebMailCompose for FF2.0 and install it: http://sas.sparklingstudios.com/arti...in-firefox-2-0
Save the patch below to roundcubemail/program/steps/mail/webmailcompose.diff Run the patch: # patch -p0 < webmailcompose.diff The patch: Code:
--- compose.inc.orig 2007-03-23 11:23:44.000000000 -0700
+++ compose.inc 2007-03-23 11:16:44.000000000 -0700
@@ -365,3 +365,7 @@
- $body = '';
+ //webmailcompose
+ if (isset($_GET['_message']))
+ $body = $_GET['_message'];
+ else
+ $body = '';
@@ -632,4 +636,7 @@
+ //webmailcompose
+ if (isset($_GET['_subject']))
+ $subject = $_GET['_subject'];
// use subject from post
- if (isset($_POST['_subject']))
+ else if (isset($_POST['_subject']))
$subject = get_input_value('_subject', RCUBE_INPUT_POST, TRUE);
Go into the options for the WebMailCompose extension. Go to the WebMail Services tab and check Enable Other. Paste the line below into the Enable Other field: Code:
http://YOUR_ROUNDCUBE_URL/?_task=mail&_action=compose&_to=^T&_subject=^S&_message=^M NOTE: You must already be logged into Roundcube for this to work. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |