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


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.