Mail::POP3Client

Perl 5 module to talk to a POP3 (RFC1939) server
Download

Mail::POP3Client Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sean Dowd
  • Publisher web site:
  • http://search.cpan.org/~sdowd/

Mail::POP3Client Tags


Mail::POP3Client Description

Perl 5 module to talk to a POP3 (RFC1939) server Mail::POP3Client is a Perl module that be used to talk to a POP3 (RFC1939) server.SYNOPSIS use Mail::POP3Client; $pop = new Mail::POP3Client( USER => "me", PASSWORD => "mypassword", HOST => "pop3.do.main" ); for( $i = 1; $i Count(); $i++ ) { foreach( $pop->Head( $i ) ) { /^(From|Subject):s+/i && print $_, " "; } } $pop->Close(); # OR with SSL $pop = new Mail::POP3Client( USER => "me", PASSWORD => "mypassword", HOST => "pop3.do.main", USESSL => true, ); # OR $pop2 = new Mail::POP3Client( HOST => "pop3.otherdo.main" ); $pop2->User( "somebody" ); $pop2->Pass( "doublesecret" ); $pop2->Connect() >= 0 || die $pop2->Message(); $pop2->Close(); # OR to use your own SSL socket... my $socket = IO::Socket::SSL->new( PeerAddr => 'pop.securedo.main', PeerPort => 993, Proto => 'tcp') || die "No socket!"; my $pop = Mail::POP3Client->new(); $pop->User('somebody'); $pop->Pass('doublesecret'); $pop->Socket($socket); $pop->Connect(); Requirements: · Perl


Mail::POP3Client Related Software