Deleting messages
Vernon A. Fort
vfort at provident-solutions.com
Tue Jan 27 23:27:35 EST 2004
Andrew Morgan wrote:
>On Tue, 27 Jan 2004, Vernon A. Fort wrote:
>
>
>
>>I need to find a way, via a simple perl script, to pass delete a single
>>message from a email folder.
>>
>>I have been just rm -f $file and then recontruct the mailbox but need a
>>more effecient method. Can you use Cyrus::IMAP::Admin and use the
>>delete function on the message file?
>>
>>Any pointers would greatly help!!!
>>
>>Vernon
>>
>>
>
>Have a look at the Mail::IMAPClient Perl module...
>
> Andy
>
>
>
>
Works like a champ!! Exactly what I was looking for!!!
Thanks
Vernon
More information about the Info-cyrus
mailing list