Author Topic: Rouncube webmail notifier  (Read 32613 times)

Offline pgy

  • Newbie
  • *
  • Posts: 4
Rouncube webmail notifier
« on: April 17, 2009, 03:54:49 AM »
Does any has a firefox/mozilla add-on for RoundCube email manager, which can receive new mail notifications?

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Rouncube webmail notifier
« Reply #1 on: April 17, 2009, 04:38:38 AM »
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 Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline pgy

  • Newbie
  • *
  • Posts: 4
Rouncube webmail notifier
« Reply #2 on: April 20, 2009, 06:58:37 PM »
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.

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Rouncube webmail notifier
« Reply #3 on: April 21, 2009, 03:40:03 AM »
Quote from: pgy;18572
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 Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #4 on: April 21, 2009, 10:01:37 AM »
... 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.
« Last Edit: January 14, 2010, 07:54:41 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Julius Caesar

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 498
    • http://www.de-keizer.net/
Rouncube webmail notifier
« Reply #5 on: April 21, 2009, 10:22:13 AM »
Quote from: rosali;18592
... 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 Groupvice4 theme here.
Sie können Groupvice4 hier he

Offline pgy

  • Newbie
  • *
  • Posts: 4
Rouncube webmail notifier
« Reply #6 on: April 22, 2009, 03:25:57 AM »
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.

Offline dano

  • Full Member
  • ***
  • Posts: 124
Rouncube webmail notifier
« Reply #7 on: April 22, 2009, 12:30:37 PM »
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.

jonie

  • Guest
Rouncube webmail notifier
« Reply #8 on: October 15, 2009, 02:59:46 PM »
RC is the command line interpreter for Version 10 Unix and Plan 9 from Bell Labs operating systems. It resembles the Bourne shell....

Offline neon

  • Newbie
  • *
  • Posts: 4
Rouncube webmail notifier
« Reply #9 on: January 14, 2010, 03:24:59 AM »
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: [Select]
/**********************************************************
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 Edit: January 14, 2010, 03:30:25 AM by neon »

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #10 on: January 14, 2010, 07:47:42 AM »
We have to code a plugin for that. Please remember me in a week or so ...

Here is what Squirrelmail does:

/**********************************************************
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 (commercial)

Offline neon

  • Newbie
  • *
  • Posts: 4
Rouncube webmail notifier
« Reply #11 on: January 14, 2010, 08:03:08 AM »
Thanks for your fast answer.

What do you mean with 'have to code a plugin'?

A plugin for roundcubemail? I have no access to the mailserver or the roundcubemail-configuration.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Rouncube webmail notifier
« Reply #12 on: January 14, 2010, 08:17:48 AM »
Yes, a plugin for roundcubemail. If you don't have access to roundcubemail, your host has to install the plugin.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Rouncube webmail notifier
« Reply #13 on: January 14, 2010, 08:48:34 AM »
Or if you have hosting you could install your own copy of RoundCube.

Offline neon

  • Newbie
  • *
  • Posts: 4
Rouncube webmail notifier
« Reply #14 on: January 14, 2010, 09:15:35 AM »
;-)

In this case, it would be easier to forward my mails to my gmx-account, for which I have a script. That's no solution. I want to monitor my existing account.

I will ask the server admin if he would install a plugin. Otherwise it wouldn't be necessary to write it, except someone else needs it.

So I guess that there is no way to send user ID and password with an URL to roundcubemail?