Instead of using AUTH LOGIN, it's using AUTH PLAIN The SMTP server tells it OK to use AUTH PLAIN
Net::SMTP=GLOB(0xa6fd440)<<< 250-AUTH PLAIN LOGIN Net::SMTP=GLOB(0xa6fd440)>>> AUTH PLAIN
PLAIN is listed before LOGIN.

2. The Base64 string contains the username twice, then the password, which is wrong. Is this a bug in Net::SMTP, or a problem with my mail server, or something else?

Maybe, check for updates

perl -MDevel::Modlist -MNet::SMTP -e 1 Carp 1.10 Config Errno 1.1 Exporter 5.63 Exporter::Heavy 5.63 IO 1.25 IO::Handle 1.28 IO::Socket 1.31 IO::Socket::INET 1.31 IO::Socket::UNIX 1.23 Net::Cmd 2.29 Net::Config 1.11 Net::SMTP 2.31 SelectSaver 1.01 Socket 1.81 Symbol 1.06 XSLoader 0.10 utf8 1.07 vars 1.01 warnings 1.05_01 warnings::register 1.01

In reply to Re: Net::SMTP auth login fails - passes in username twice! by Anonymous Monk
in thread Net::SMTP auth login fails - passes in username twice! by m0thr4

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.