Name
login
Synopsis
$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.
Get Perl in a Nutshell, 2nd Edition 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.