Expunge deleted messages when closing folder.
This commit is contained in:
parent
ee46de08f7
commit
a3fb68e78b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user