Reference: login
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:56:37Z

#

| Chapter 14 Email Connectivity |

## login

     $pop->login([user[, pass]])

Sends both USER and PASS commands. If the password, pass, is not given, then Net::Netrc is used to look up the password based on the host and the username, user. If user is not specified, the current username is used. Returns the count of messages in the mailbox, or `undef` if the server can't authenticate the user.

Reference: list |  | Reference: pass