Posted By:
George_Lindholm
Posted On:
Tuesday, March 18, 2003 03:10 PM
Let me rephrase my question.
How can I force the connection pooling in javamail to close
down unused connections?
Using this example:
Folder inbox = store.getDefaultFolder().getFolder("INBOX");
inbox.open(Folder.READ_WRITE);
Folder trash = store.getDefaultFolder().getFolder("mail/Wastebasket");
if (!trash.exists()) {
System.err.println("Trash folder doesn't exist");
}
How do I get rid of the connection that was created by the
trash.exists() call?
George