Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 14.2 The Mail ModulesChapter 14
Email Connectivity
Next: Reference: Alive
 

new

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

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.


Previous: 14.2 The Mail ModulesPerl in a NutshellNext: Reference: Alive
14.2 The Mail ModulesBook IndexReference: Alive

Library Navigation Links

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