in reply to Re: Getmail perl script
in thread Getmail perl script

I agree with both extremely and sauveant. Use a module. It'll save you alot of time and has the benefit of (probably) a good bit of testing.

What I want to know is thats the difference between them. I looked over the docs and they both look roughly the same (more stuff in Mail::POPClient). I'm using Mail::POPClient in my "yet another mail client" (trust me it's different :)), but am interested to hear of any pros/cons of each.

xf86, To handle attachements and the like, look into MIME-tools

Replies are listed 'Best First'.
Re: Re: Re: Getmail perl script
by TheoPetersen (Priest) on Apr 07, 2001 at 23:34 UTC
    I'm not sure there are any hard and fast rules, but for both the POP and IMAP sets (which have Net:: and Mail:: modules) I'd use the Mail:: versions for a client and the Net:: versions for a biffer or other status check. The Net:: versions are light(er) weight and have the methods for talking to the server; good candidates for subclassing if you wanted to do more yourself.