start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

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

new

 $

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:

Debug

Enables debugging information

Timeout

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


Previous: 14. Email Connectivity Perl in a Nutshell Next: Reference: apop
14. Email Connectivity Book Index Reference: apop