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


Reply via email to