var mailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession); var nsIFolderListener = Components.interfaces.nsIFolderListener; var notifyFlags = nsIFolderListener.intPropertyChanged | nsIFolderListener.event; mailSession.AddFolderListener(folderListener, notifyFlags); } catch (ex) { dump("Error adding to session\n"); } 
var mailSession = Components.classes[mailSessionContractID] .getService(Components.interfaces.nsIMsgMailSession); var nsIFolderListener = Components.interfaces.nsIFolderListener; var notifyFlags = nsIFolderListener.intPropertyChanged | nsIFolderListener.event; mailSession.AddFolderListener(folderListener, notifyFlags); } catch (ex) { dump("Error adding to session\n"); } 
function AddToSession(){  try {   var mailSession = Components.classes[mailSessionContractID].getService(Components.interfaces.nsIMsgMailSession);   var nsIFolderListener = Components.interfaces.nsIFolderListener;   var notifyFlags = nsIFolderListener.intPropertyChanged | nsIFolderListener.event;   mailSession.AddFolderListener(folderListener, notifyFlags); } catch (ex) {     dump("Error adding to session\n");   }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/fb4b22d007e7bb58834f8c165d65438725f8d0b1/msgMail3PaneWindow.js/clean/mail/base/content/msgMail3PaneWindow.js