Re: Deleting messages

From: Andrew Morgan (no email)
Date: Tue Jan 27 2004 - 12:30:53 EST


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








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD