in reply to Simple mail processing code

I like Mail::POP3Client better for getting mails from a POP3 account, but YMMV.