Name

new

Synopsis

$pop = new Mail::POP3Client(”user“, "pwd“[, "host“[, port[, debug]]])

Description

Constructor. Creates a new POP3 connection. The arguments are:

user

The username.

pwd

The password.

host

Optional. The POP3 host; defaults to pop.

port

Optional. The POP3 port number; defaults to 110.

debug

Enables debugging (to STDERR) on the object if set to a positive integer. Defaults to 0.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.