Good day Monks. When running the following code (in which the parameters have been changed or replaced with * to protect the innocent):
use strict; use Mail::POP3Client; my $pop = new Mail::POP3Client( USER => "uid", PASSWORD => "pw", HOST => "mail.*****.com" ); print join("\n",@{ $pop->{'tranlog'} }); $pop->Close();
I get the following tranlog output and error message:

+OK <281**.1103124993@pop03.****.******.net> APOP uid 431b9d95123c88179f74489d3549f4** -ERR authorization failed CAPA USER uid Use of uninitialized value in pattern match (m//) at C:/Perl/site/lib/ +Mail/POP3Client.pm line 1008, <GEN1> line 2.

When per suggestion of the FAQ I add AUTH_MODE => 'PASS' to the constructor, I get:

+OK <121**.1103125459@pop02.****.******.net> USER uid +OK PASS pw -ERR authorization failed

uid and pw are known good. Any ideas what I am doing wrong?

Many thanks in advance....

Steve

2004-12-15 Janitored by Arunbear - changed pre tags to code tags around error messages


In reply to POP3Client connection problems by cormanaz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.