NAME FML::MUA::POP3 - retrieve a message by pop3 protocol. SYNOPSIS use FML::MUA::POP3; my $mua = new FML::MUA::POP3 $curproc; MUA: for my $server (@$servers) { if (defined $mua) { $mua->login({ server => $server, username => $username, password => $password, }); } else { $curproc->logerror("object undefined."); } if ($mua->error()) { $curproc->logerror($mua->error()); next MUA; } } if ($mua->error()) { $curproc->logerror($mua->error()); $curproc->stop_this_process(); return; } $mua->retrieve( { class => $class } ); if ($mua->error()) { $curproc->logerror($mua->error()); $curproc->stop_this_process(); return; } $mua->quit(); if ($mua->error()) { $curproc->logerror($mua->error()); } DESCRIPTION This class provides POP3 protocol interface. It behaves a MUA. METHODS new() constructor. login($r_args) login to pop3 server. retrieve($r_args) retrieve messages. quit($r_args) close pop session. UTILITY pickup_queue($r_args) ERROR HADNLING error_set($reason) save error reason. error() return the last error reason. CODING STYLE See "http://www.fml.org/software/FNF/" on fml coding style guide. AUTHOR Ken'ichi Fukamachi COPYRIGHT Copyright (C) 2005,2006,2007,2008 Ken'ichi Fukamachi All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. HISTORY FML::MUA::POP3 appeared in fml8 mailing list driver package. See "http://www.fml.org/" for more details.