Don
Faire un don pour aider au developpement de WiPhA

Recherche




Préférences

Se reconnecter
---

Votre nom (ou pseudo) :

Votre code secret


 Nombre de membres 98 membres


Connectés :

( personne )
Visites

 840964 visiteurs

 10 visiteurs en ligne

forum.gifForum - Sujet n°270

Forum - Forum
-
- Sujet n° 270


actif Sujet n° 270  YAMB and Thunderbird 3 = No notifications

le 09/12/2009 @ 17:50
par freixas

Anonyme

visiteur

I'm using Thunderbird 3 RC2.

If I use the Test button in the Options dialog, everything works fine. However, I never get notified of any arriving emails, even after enabling every "Notify" setting.

I'm not sure how I could debug this. Since Test works, it seems that all the code I need to provide is installed and working properly. It's just that the extension never actually wakes up when new mail arrives.
Ecrire à freixas   Poster une réponse  Haut

[]   

Réponse n° 1
--------
le 12/12/2009 @ 18:23
par freixas

Anonyme

visiteur
I now have Thunderbird 3.0 and I still have the same problem.

I decided I might as well try to debug this. Well, in function yambNotifyIfNotJunk(), I added a bunch of dump statements. Here is an extract:

    // if we are whitelisting, check if the email address is in the
    // whitelist addressbook.
    dump("Check whitelist\n");
    var spamSettings = aMsgHdr.folder.server.spamSettings;
    if (spamSettings.useWhiteList && spamSettings.whiteListAbURI) {
    dump("Checkpoint 1\n" + spamSettings.whiteListAbURI + "\n");
    var temp = RDF.GetResource(spamSettings.whiteListAbURI);
    dump("Checkpoint 1.5\n");
        var whiteListDirectory = temp.QueryInterface(Components.interfaces.nsIAbMDBDirectory);
    dump("Checkpoint 2\n");

I split one statement into two. Here's is  my dump info:

Entering yambNotifyIfNotJunk(aMsgHdr)
Check whitelist
Checkpoint 1
moz-abmdbdirectory://abook.mab

So this says that I have a server where I've whitelisted the address book entries. The code never reaches Checkpoint 1.5.

If I skip the white list stuff, I receive a notification properly. This could just be a problem with Thunderbird. I may have to delete my profile to make the code work, but I'm not looking forward to that!
Ecrire à freixas   Poster une réponse  Haut
Réponse n° 2
--------
le 30/12/2009 @ 10:56
par trait72

Anonyme

visiteur

Hello,

I have tb3 and I have the same problem.

In the "error Console" (I have translate it from the italian "console degli errori") I see this error about yamb:

Errore: RDF is not defined
File sorgente: chrome://yamb/content/yamb.js
Riga: 409

I see the file yamb.js and effectively there is the var RDF that isn't defined.

Can You help me?

  Poster une réponse  Haut
Réponse n° 3
--------
le 11/01/2010 @ 20:46
par Mec

Anonyme

visiteur
Hi, I have the same problem with TB3 and Yamb.
In TB2 I used successfully Yamb with growlnotify as described in this webpage .
I Used the applescript of Michael Voehringer
and all was working good.
Now in TB something goes wrong because only the defalut TB3 growl notification seems to work.
If I test the script in Yamb preferences windows the notification work.

Any suggest?

Bye
Pietro from Italy
  Poster une réponse  Haut
Réponse n° 4
--------
le 11/01/2010 @ 20:49
par Mec

Anonyme

visiteur
Errata Corrige:

the web page is this one.

The apple script of voehringer is here.

Bye
Pietro
  Poster une réponse  Haut
Réponse n° 5
--------
le 11/01/2010 @ 23:13
par freixas

Anonyme

visiteur
Guys, maybe you missed my statement: "If I skip the white list stuff, I receive a notification properly."

I am now using YAMB, but I had to comment out the line I mentioned in my post above. If you don't know how to unpack a plugin to make the change, you may be able to turn off the white list using:

Tools > Account Settings > Junk Settings (for appropriate server)  > Do not mark mail as junk if sender is in:

Uncheck every option in this area. Report back if it works.

Obviously, it would be better to find out the problem, but it looks like the plugin author is not working on this problem. With my solution, you will lose the white-list feature, but at least YAMB should run.
  Poster une réponse  Haut
Réponse n° 6
--------
le 12/01/2010 @ 08:34
par trait72

Anonyme

visiteur

Thanks a lot Freixas, You have right!

Without the white list the program works fine.

  Poster une réponse  Haut
Réponse n° 7
--------
le 02/02/2010 @ 00:18
par Mec

Anonyme

visiteur
Yes, I disabled the withe list too, and Yamb and the script notification work.

But the white list is a very useful features so it's difficult for me to choose between YAMB and the white list confused
  Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Cloturer Cloturer sujet   Remonter Remonter
[]


^ Haut ^