http://www.perlmonks.org?node_id=15846


in reply to RE: MIME Attachment Extractor
in thread MIME Attachment Extractor

Yes, the bodies are always saved with the prefix "msg-" (unless you override it). So you can just unlink anything that starts with that prefix to clean out the message bodies.