Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 14. Email ConnectivityChapter 14
Email Connectivity
Next: Reference: apop


 $pop = Net::POP3->new([host,] [options])

Constructor. Creates a new Net::POP3 object. host is the name of the remote host to which you want to make a POP3 connection. If host is not specified, then the POP3_Host specified in Net::Config is used.

options are passed as key/value pairs, where the option is the key. The possible options are:


Enables debugging information


Maximum time, in seconds, to wait for a response from the POP3 server. Default is 120 seconds.

Previous: 14. Email ConnectivityPerl in a NutshellNext: Reference: apop
14. Email ConnectivityBook IndexReference: apop