Sample code for 30+ languages & platforms
Perl

POP3 Examples for Chilkat2 Perl