Deleting the last message blows away the folder
Scott Bronson <[email protected]> Tue, 16 May 2006 14:52:53 -0400
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Organization | Rinspin |
| Message-ID | <[email protected]> |
Hello. It seems that when I use $message->delete to delete messages, if
I delete the last message in a folder the entire folder is deleted as
well.
Is there any way to prevent this behaviour? After the last message is
deleted, I'd like the empty folder to remain until I explicitly delete
it using Mail::Box::Manager::delete().
Thanks!
- Scott