From a3fb68e78b58a083f6ec5102c03ade35fc98909d Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 6 Oct 2005 20:48:33 +0000 Subject: [PATCH] Expunge deleted messages when closing folder. --- examples/example6.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/example6.cpp b/examples/example6.cpp index 6dea8e30..bcbdcaf6 100644 --- a/examples/example6.cpp +++ b/examples/example6.cpp @@ -646,6 +646,7 @@ static void connectStore() std::cout << std::endl; std::cout << count << " message(s) in this folder" << std::endl; + f->close(true); // 'true' to expunge deleted messages f = newFolder; break; @@ -653,6 +654,7 @@ static void connectStore() // Main menu case 8: + f->close(true); // 'true' to expunge deleted messages cont = false; break; }