June 2002
Beginner
759 pages
80h 42m
English
new
$pop= Net::POP3->new([host,] [options])
Constructor. Creates a new Net::POP3 object.
host is the name of the remote host
to which a POP3 connection will be made. If
host is not specified, then the
POP3_Host specified in Net::Config is used.
options are passed as key/value
pairs, in which the option is the key. The possible options
are:
ResvPortOptional. If given, then the socket for the
Net::POP3 object will be bound to the given local port
using bind when the
socket is created.
DebugEnables debugging information
TimeoutMaximum time, in seconds, to wait for a response from the POP3 server. Default is 120 seconds.