572573574575576577578579580581582
//mail service is blocking! Store store = session.getStore(); //The listener is invoked when FolderEvents //occur on *any* folder in the store store.addFolderListener(this); //store.addSendListener(this); } /**