home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.