in reply to Net::SMTP auth login fails - passes in username twice!

I've been scratching my head over this one. The answer seemed like it would be simple, but I encountered a few exceptions.

First, I noticed that you were using TLS, so I tried it with Net::SMTP::TLS. The problem there for me was that the module requires Net::SSLeay, but that's broken and won't work for me.

Second, all the servers that I use basically use the two mechanisms, DIGEST-MD5 and CRAM-MD5, so LOGIN wasn't available and even PLAIN wasn't always available.

Third, wondering why the LOGIN mechanism seemed to be awol somewhere, I figured that this stuation was a "gotcha". See the internet draft The LOGIN SASL Mechanism for more details.

  • Comment on Re: Net::SMTP auth login fails - passes in username twice!

Replies are listed 'Best First'.
Re^2: Net::SMTP auth login fails - passes in username twice!
by Anonymous Monk on Jul 21, 2009 at 09:58 UTC
    requires Net::SSLeay, but that's broken and won't work for me.

    How so?

      How so

      It installed ok, but every time that I try to use it, I get:

      Net/SSLeay/SSLeay.so: undefined symbol: SSL_load_error_strings

      Any ideas?

        How did you install? Run
        ldd Net/SSLeay/SSLeay.so
        You probably have conflicting openssl versions installed