Reputation: 11
There are mails that I want to delete from a mbox if the email got processed. How would be able to do that using the perl Mail::MboxParser library?
Upvotes: 1
Views: 399
Reputation: 240294
Mail::MboxParser says right in its description that it gives you read-only access to an mbox file, which means it can't delete anything. You will want to use a module that can actually rewrite the mbox file, like Mail::Box or Email::Delete::Mbox.
Upvotes: 1