Changeset a8bf16


Ignore:
Timestamp:
Dec 8, 2007, 3:38:17 PM (14 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
d59eca
Parents:
1e50ea
Message:

added some debug-information

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_smtpSelector.js

    r1e50ea ra8bf16  
    7676    {
    7777        var idserver;
    78         if (vI.helper.getBaseIdentity().smtpServerKey)
     78        if (vI.helper.getBaseIdentity().smtpServerKey) {
    7979            idserver = vI_smtpSelector.smtpService.getServerByKey(vI.helper.getBaseIdentity().smtpServerKey);
     80            vI_notificationBar.dump("## v_smtpSelector: use SMTP from BaseIdentity: " + vI_smtpSelector.getSMTPName(idserver.key) + "\n")
     81            }
    8082        else {
    8183            // find the account related to the identity, to get the account-related default smtp, if it exists.
     
    8486           
    8587            for (var x in accounts) {
    86                 if (idserver) break;
     88                if (idserver) {
     89                    vI_notificationBar.dump("## v_smtpSelector: use SMTP from Account of BaseIdentity: " + vI_smtpSelector.getSMTPName(idserver.key) + "\n")
     90                    break;
     91                }
    8792                var server = accounts[x].incomingServer;
    8893               
     
    101106            }
    102107        }
    103         if (!idserver) idserver = vI_smtpSelector.smtpService.defaultServer;
     108        if (!idserver) {
     109            idserver = vI_smtpSelector.smtpService.defaultServer;
     110            vI_notificationBar.dump("## v_smtpSelector: use default SMTP: " + vI_smtpSelector.getSMTPName(idserver.key) + "\n")
     111        }
    104112       
    105113        var defaultServer = vI_smtpSelector.smtpService.defaultServer;
Note: See TracChangeset for help on using the changeset viewer.