RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > News and Announcements > General Discussion

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 04-17-2009, 07:54 AM
pgy pgy is offline
Registered User
 
Join Date: Feb 2009
Posts: 4
Default Rouncube webmail notifier

Does any has a firefox/mozilla add-on for RoundCube email manager, which can receive new mail notifications?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 04-17-2009, 08:38 AM
Julius Caesar's Avatar
Super Moderator
 
Join Date: Oct 2008
Location: Netherlands
Posts: 313
Default

RC is a email client, not a server. You can use any notifier that uses your mailserver to determine if there is a new mail (which most notifiers do).
__________________
Julius Caesar

You can download the GroupVice theme here.
Sie können GroupVice hier herunterladen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-20-2009, 10:58 PM
pgy pgy is offline
Registered User
 
Join Date: Feb 2009
Posts: 4
Default

Yes, I'm thinking if there is any like Gmail notifer program which connects through the http protocol and can monitor new emails arriving.

so I think it needs a dedicated roundcube notifer program, the Gmail notifer doesn't work for roundcube web client.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-21-2009, 07:40 AM
Julius Caesar's Avatar
Super Moderator
 
Join Date: Oct 2008
Location: Netherlands
Posts: 313
Default

Quote:
Originally Posted by pgy View Post
so I think it needs a dedicated roundcube notifer program,
Think of RoundCube as a program like Outlook or Thunderbird. Mail arrives at your mailserver not your client. To use a notifier, you will have to check the server not the program.

So you need a notifier which check your IMAP mailserver. Unfortunately, there are no free configurable IMAP notifiers for Firefox yet.

A stand-alone notifier you can use is this one.
__________________
Julius Caesar

You can download the GroupVice theme here.
Sie können GroupVice hier herunterladen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-21-2009, 02:01 PM
rosali's Avatar
Super Moderator
 
Join Date: Dec 2007
Location: Germany
Posts: 1,647
Default

... I believe he thinks about a tool which connects to RC by http to use the check-recent request. Not bad, because it would be a bridge to connect to IMAP servers behind RC. Easily done by a simple hta (IE based) app ... sorry, I'm not skilled enough to code a real platform independent application.
__________________
Regards,
Rosali

__________________
MyRoundcube Project http://myroundcube.googlecode.com
MyRoundcube Online Demo http://mail4us.net
MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube
Mailing List http://mail4us.net/?_action=plugin.nabble

Last edited by rosali; 01-14-2010 at 11:54 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-21-2009, 02:22 PM
Julius Caesar's Avatar
Super Moderator
 
Join Date: Oct 2008
Location: Netherlands
Posts: 313
Default

Quote:
Originally Posted by rosali View Post
... I believe he thinks about a tool which connects to RC by http to use the check-recent request. Not bad, because it would be a bridge to connect to IMAP servers behind RC. Easily done by a simple hta (IE based) app ... sorry, I'm not skilled enough to code a real platform independed application.
Well he wants an add-on for Firefox, not a stand-alone notifier.
__________________
Julius Caesar

You can download the GroupVice theme here.
Sie können GroupVice hier herunterladen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 04-22-2009, 07:25 AM
pgy pgy is offline
Registered User
 
Join Date: Feb 2009
Posts: 4
Default

connecting to IMAP server directly is one option, but sometimes the IMAP server port is not open to outside.

If you check this extension of firefox "Gmail Manager" tLo : Gmail Manager, it check new emails through the http not IMAP, what I need is the same program like the "Gmail Manager" but not check gmail, instead it is to check RoundCube mail.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 04-22-2009, 04:30 PM
Registered User
 
Join Date: May 2007
Posts: 124
Default

Quote:
connecting to IMAP server directly is one option, but sometimes the IMAP server port is not open to outside.
Sounds like the server administrator's don't want you to to be able to do so.

Either way what you're looking for is not specific to Roundcube at all it's simply a FF extension for email notification. You should be looking at FF addons. But if you can't connect using IMAP or POP3 then it's not likely you'll find one anyways.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 01-14-2010, 07:24 AM
Roundcube Newcomer
 
Join Date: Jan 2010
Posts: 4
Default

Sorry to dig up that old thread, but it wasn't answered and I feel like nobody here really understood, what pgy wanted to know.

pgy was asking how to configure the Firefox Webmail Notifier plugin for Roundcubemail.

WebMail Notifier - Notifier for gmail, yahoo, hotmail and more

This is exactly the problem that I have.

What this plugin does, is creating an url, containing the user ID and password and send it to a webmail frontend to check frequently if there are new mails. This is mostly needed, when you are sitting behind a company's firewall where you can only use the HTTP ports.

Firefox Webmail Notifier plugin works with user customized js-scripts, that have to be configured to match the syntax of the webmail-frontend that's installed on the Mail-Server.

Here is an example for Lycos:


Code:
/**********************************************************
Lycos
**********************************************************/
var name="Lycos";
var ver="2009-01-06"

function init(){
  this.hostString="";
  this.dataURL="http://mail.lycos.com/lycos/Welcome.lycos";
  this.loginData=["https://registration.lycos.com/login.php?m_PR=27","m_U","m_P","m_CBURL="+encodeURIComponent("http://mail.lycos.com")];
  this.mailURL="http://mail.lycos.com/lycos/Index.lycos";
}
function getCount(aData){
  var fnd=aData.match(/You have <font.+?>(\d+?)<\/font> new message/);
  if(fnd){
    return fnd[1];
  }else{
    return -1;
  }
}

So, does anyone know how the syntax of the roundcubemail login interface url looks like?

Last edited by neon; 01-14-2010 at 07:30 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 01-14-2010, 11:47 AM
rosali's Avatar
Super Moderator
 
Join Date: Dec 2007
Location: Germany
Posts: 1,647
Default

We have to code a plugin for that. Please remember me in a week or so ...

Here is what Squirrelmail does:
PHP Code:
/**********************************************************
SquirrelMail
  * Enable Unread Message Notification in Folder Preferences
**********************************************************/
var name="Squirrel";
var 
ver="2009-01-13"
var needServer=true;

function 
init(){
  if(
this.server){
    if(
this.server.indexOf("http")!=0)this.server="http://"+this.server;
    if(
this.server.charAt(this.server.length-1)=="/")this.server=this.server.substring(0,this.server.length-1);
  }else if(
this.user.indexOf("@")!=-1)this.server="http://mail."+this.user.split("@")[1];
  
this.loginData=[this.server+"/src/redirect.php","login_username""secretkey",];
  
this.dataURL=this.server+"/src/left_main.php";
  
this.mailURL=this.server+"/src/webmail.php";
}

function 
getCount(aData) {
  var 
fnd=aData.match(/left_main.php?fold=INBOX.+?(?:<small>.*?((d+)(?:/d+)?).*?</small>)?</span>/);
  if(
fnd) {
    return 
fnd[1]?fnd[1]:0;
  }else{
    return -
1;
  }

It should be easy to show by a plugin request only the unread count of the Inbox and nothing else.
__________________
Regards,
Rosali

__________________
MyRoundcube Project http://myroundcube.googlecode.com
MyRoundcube Online Demo http://mail4us.net
MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube
Mailing List http://mail4us.net/?_action=plugin.nabble
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community