Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: MIME::Lite error => SMTP auth() command not supported on smtp.gmail.com

by ted.byers (Monk)
on Sep 14, 2011 at 17:41 UTC ( #925955=note: print w/ replies, xml ) Need Help??


in reply to Re: MIME::Lite error => SMTP auth() command not supported on smtp.gmail.com
in thread MIME::Lite error => SMTP auth() command not supported on smtp.gmail.com

Thanks.

Yes, MIME::Base64 is installed.

What else might be awry?

  • Comment on Re^2: MIME::Lite error => SMTP auth() command not supported on smtp.gmail.com

Replies are listed 'Best First'.
Re^3: MIME::Lite error => SMTP auth() command not supported on smtp.gmail.com
by keszler (Priest) on Sep 14, 2011 at 18:07 UTC

    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 gmail.com? 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 smtp.gmail.com 25

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

      Well then, the mystery deepens.

      Executing:

      telnet smtp.gmail.com 25

      produces the following output:

      220 mx.google.com 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.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2016-08-24 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (345 votes). Check out past polls.