Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Net::POP3 Does not authenticate with cpop6 ?

Discussion in 'General Discussion' started by sgemma, Nov 17, 2003.

  1. sgemma

    sgemma Member

    Nov 17, 2002
    Likes Received:
    Trophy Points:
    I've just installed the Net::POP3_Auth and Net::POP3 modules for a client of mine. The script is very simple, straight from cpan documentation, it looks like:


    use Net::POP3_auth;

    $pop = Net::POP3_auth->new('server');
    $pop->auth('APOP', 'email', 'password');

    print $pop->list;

    However when the user attempts to run the script, the error is received:

    Can't call method "auth" on an undefined value at line 6.

    This is not a complicated issues and it dies on line 6 which is due to line 5 failing, so it is unable to connect with the imap server (which i've tried 3 valid pop3 servers).

    Does anybody have any idea why this would be failing? Thanks for your time.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice