[REBOL] Re: pop3 fetch: deleting mails older than 5 days
From: greggirwin:mindspring at: 13-Jul-2003 11:02
Hi Rene,
RSB> I try to write a "fetchmail"-clone. In the "library" I found some few-liners
RSB> for deleting mail on the
RSB> mail-server. But I want to delete mail older than 5 day and sometimes mail
RSB> with a specific "subject".
RSB> Hiw can this be solved?
I'm not a POP expert by any means, but I think you're going to have to
either use TOP or RETR to get the information you want, in order to
decide if you want to delete the message. In REBOL, you open the
mailbox, import each message, analyze it, and remove it if desired.
Using TOP might work as well. Maybe Graham, Phil, or another mail
expert can be more helpful.
-- Gregg