Expunge deleted messages when closing folder.

This commit is contained in:
Vincent Richard 2005-10-06 20:48:33 +00:00
parent ee46de08f7
commit a3fb68e78b

View File

@ -646,6 +646,7 @@ static void connectStore()
std::cout << std::endl; std::cout << std::endl;
std::cout << count << " message(s) in this folder" << std::endl; std::cout << count << " message(s) in this folder" << std::endl;
f->close(true); // 'true' to expunge deleted messages
f = newFolder; f = newFolder;
break; break;
@ -653,6 +654,7 @@ static void connectStore()
// Main menu // Main menu
case 8: case 8:
f->close(true); // 'true' to expunge deleted messages
cont = false; cont = false;
break; break;
} }