Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: MIME::Lite error => SMTP auth() command not supported on

by keszler (Priest)
on Sep 14, 2011 at 18:07 UTC ( #925968=note: print w/replies, xml ) Need Help??

in reply to Re^2: MIME::Lite error => SMTP auth() command not supported on
in thread MIME::Lite error => SMTP auth() command not supported on

In all of the MIME::Lite code that particular error message only appears once, as shown. Net::SMTP->supports('AUTH'... fails, that error is generated. So, why does it fail from the server when it succeeds on your workstation. Same Perl, same modules; time to look elsewhere. Is the server blocked from connecting to Since this is email, is something on your network redirecting email ports to local email servers?

On the server, at a DOS prompt, try:

> telnet 25

If you get a connection, you'll see something like 220 If you can't connect, or get a local email server - there's your problem.

Replies are listed 'Best First'.
Re^4: MIME::Lite error => SMTP auth() command not supported on
by ted.byers (Monk) on Sep 14, 2011 at 19:36 UTC

    Well then, the mystery deepens.


    telnet 25

    produces the following output:

    220 ESMTP l71sm1167256yhj.15

      Odd. How did you check that MIME::Base64 and Authen::SASL were working? Try:

      DOS> perl -e "require MIME::Base64;" DOS> perl -e "require Authen::SASL;"

      Any error messages?

      If not, all I can guess is that copying Perl + modules != installing Perl + modules. I'd suggest renaming the server's Perl64 directory, then doing a full install of Perl and the modules you use. (Run C:\Perl64\bin\instmodsh.bat on your workstation to generate a list of installed modules.)

        Here is the content of the session I started to test this:

        C:\>perl -v This is perl 5, version 12, subversion 1 (v5.12.1) built for MSWin32-x +64-multi-thread (with 3 registered patches, see perl -V for more detail) Copyright 1987-2010, Larry Wall Binary build 1201 [292674] provided by ActiveState http://www.ActiveSt Built May 14 2010 00:22:26 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at, the Perl Home Pa +ge. C:\>perl -e "require MIME::Base64;" C:\>perl -e "require Authen::SASL;" C:\>

        I'll try to do a regular install, and see (and report back) what happens.

        Well, I did as you suggested, renamed Perl64 and installed Perl de novo, and installed the requisite packages, and the result remains the same.

        I don't know what else to try

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://925968]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2016-10-26 00:56 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.